/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%d %d %d", &n, &na, &nb);
  ^~~~~~~
/in/foo.c:83:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%d %d\n", A, B);
  ^~~~~~
/in/foo.c:83:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:83:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/tmp/cccwmO8T.o: In function `main':
foo.c:(.text.startup+0x46): undefined reference to `scanf_s'
foo.c:(.text.startup+0x61): undefined reference to `scanf_s'
foo.c:(.text.startup+0x99): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P1905 生活大爆炸版 石头剪刀布
语言
C
递交时间
2017-09-11 17:04:36
评测时间
2017-09-11 17:04:36
评测机
分数
0
总耗时
73ms
峰值内存
5.926 MiB