记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:5:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d%d%d",&k,&p,&n);
  ^~~~~
/in/foo.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:28:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   printf("0");
   ^~~~~~
/in/foo.c:28:3: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:28:3: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:33:3: warning: incompatible implicit declaration of built-in function 'printf'
   printf("%d",count);
   ^~~~~~
/in/foo.c:33:3: note: include '<stdio.h>' or provide a declaration of 'printf'
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Runtime Error 1ms 216.0 KiB
#3 Runtime Error 1ms 208.0 KiB
#4 Runtime Error 1ms 216.0 KiB
#5 Runtime Error 1ms 208.0 KiB
#6 Runtime Error 1ms 216.0 KiB
#7 Runtime Error 1ms 216.0 KiB
#8 Runtime Error 1ms 216.0 KiB
#9 Runtime Error 1ms 216.0 KiB
#10 Runtime Error 1ms 208.0 KiB

信息

递交者
类型
递交
题目
(ty 1-5) 盖板子
比赛
2019-1-20寒假集训1
语言
C
递交时间
2019-01-20 11:05:09
评测时间
2019-01-20 11:05:09
评测机
分数
10
总耗时
12ms
峰值内存
216.0 KiB