记录详情

Compile Error

foo.c: In function 'main':
foo.c:7:2: warning: implicit declaration of function 'prinf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |  prinf("%d",a+b);
      |  ^~~~~
      |  printf
foo.c:6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |     scanf("%d %d",&a,&b);
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccjde5C0.o: in function `main':
foo.c:(.text.startup+0x3d): undefined reference to `prinf'
collect2: error: ld returned 1 exit status
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 A+B Problem
语言
C
递交时间
2022-01-03 22:00:25
评测时间
2022-01-03 22:01:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes