记录详情

Compile Error

foo.c: In function 'main':
foo.c:8:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d %d",&n1,&n2);
  ^~~~~
foo.c:8:2: warning: incompatible implicit declaration of built-in function 'scanf'
foo.c:8:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:13:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d %d",c,d);
  ^~~~~~
foo.c:13:2: warning: incompatible implicit declaration of built-in function 'printf'
foo.c:13:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/tmp/cchJS3yH.o: In function `main':
foo.c:(.text.startup+0x47): undefined reference to `input'
foo.c:(.text.startup+0x53): undefined reference to `input'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-31 09:59:39
评测时间
2021-10-31 09:59:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes