/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:9:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(j=w-1;j<n;j++)a[j]=a[j+1];n--;}
 ^~~
/in/foo.c:9:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 for(j=w-1;j<n;j++)a[j]=a[j+1];n--;}
                               ^
/in/foo.c:10:1: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
 printf("%d",x);return 0;
 ^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 192.0 KiB
#2 Accepted 0ms 208.0 KiB
#3 Accepted 0ms 204.0 KiB
#4 Accepted 0ms 212.0 KiB
#5 Accepted 0ms 204.0 KiB
#6 Runtime Error 0ms 208.0 KiB
#7 Accepted 0ms 208.0 KiB
#8 Accepted 0ms 212.0 KiB
#9 Accepted 0ms 200.0 KiB
#10 Runtime Error 0ms 212.0 KiB

信息

递交者
类型
递交
题目
P1078 松鼠吃果子
语言
C
递交时间
2019-12-16 17:18:33
评测时间
2019-12-16 17:18:33
评测机
分数
80
总耗时
7ms
峰值内存
212.0 KiB