/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:18:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   18 |                 for (int j=s; j>=i; j--)
      |                 ^~~
foo.cc:20:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   20 |                         printf("%d\n", a[s]/2);
      |                         ^~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 512.0 KiB
#2 Accepted 2ms 640.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 18ms 512.0 KiB
#5 Accepted 61ms 512.0 KiB
#6 Accepted 27ms 512.0 KiB
#7 Accepted 31ms 512.0 KiB
#8 Accepted 54ms 512.0 KiB
#9 Accepted 53ms 384.0 KiB
#10 Accepted 47ms 512.0 KiB

信息

递交者
类型
递交
题目
P1497 [USACO2.2]集合 Subset Sums(改编) / 整数集合划分(文件IO)
题目数据
下载
语言
C++
递交时间
2022-08-11 23:03:25
评测时间
2022-08-11 23:03:25
评测机
分数
100
总耗时
304ms
峰值内存
640.0 KiB