/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%d %d %d %d", &n, &m, &l, &r);
  ^~~~~~~
/in/foo.c:27:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d\n", sum);
  ^~~~~~
/in/foo.c:27:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:27:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/tmp/ccK39syj.o: In function `main':
foo.c:(.text.startup+0x41): undefined reference to `scanf_s'
foo.c:(.text.startup+0x7a): undefined reference to `scanf_s'
foo.c:(.text.startup+0xd2): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P1968 金蝉脱壳
语言
C
递交时间
2017-09-07 19:31:32
评测时间
2017-09-07 19:31:32
评测机
分数
0
总耗时
70ms
峰值内存
5.895 MiB