记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0;i<=l;i++)
  ^~~
/in/foo.c:18:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   printf("%d",sum);
   ^~~~~~
/in/foo.c:4:22: warning: unused variable 'min' [-Wunused-variable]
  int n,l,i,sum=0,max,min,j;
                      ^~~
/in/foo.c:4:18: warning: unused variable 'max' [-Wunused-variable]
  int n,l,i,sum=0,max,min,j;
                  ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 0ms 216.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 212.0 KiB
#6 Accepted 1ms 216.0 KiB
#7 Accepted 1ms 212.0 KiB
#8 Accepted 1ms 220.0 KiB
#9 Accepted 0ms 212.0 KiB
#10 Accepted 0ms 216.0 KiB

信息

递交者
类型
递交
题目
P1138 校门外的树
比赛
南京师范大学算法竞赛之2020年寒假战“疫”系列赛Round4 总第74期赛
语言
C
递交时间
2020-03-07 14:16:14
评测时间
2020-03-07 14:16:14
评测机
分数
100
总耗时
10ms
峰值内存
220.0 KiB