记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:4:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d",&n);
  ^~~~~
/in/foo.c:4:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:4:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:19:7: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
       printf("%d ",c[i]+c[j]);
       ^~~~~~
/in/foo.c:19:7: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:19:7: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:25:7: warning: incompatible implicit declaration of built-in function 'printf'
       printf("Inf");
       ^~~~~~
/in/foo.c:25:7: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:3:20: warning: unused variable 'm' [-Wunused-variable]
  int n,x,y,j=0,i=0,m;
                    ^
# 状态 耗时 内存占用
#1 Accepted 1ms 184.0 KiB
#2 Wrong Answer 1ms 184.0 KiB
#3 Runtime Error 1ms 204.0 KiB
#4 Runtime Error 1ms 188.0 KiB
#5 Runtime Error 1ms 188.0 KiB

信息

递交者
类型
递交
题目
5 城市中的最短路径
比赛
小兰赛 2018/12/2
语言
C
递交时间
2018-12-02 11:58:00
评测时间
2018-12-02 11:58:00
评测机
分数
20
总耗时
8ms
峰值内存
204.0 KiB