/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'void pre()':
foo.cc:11:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   11 |          for(int j=1;j<=sqrt(i);j++)
      |          ^~~
foo.cc:17:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   17 |           ys[i]-=i;
      |           ^~
foo.cc: In function 'int main()':
foo.cc:25:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |     scanf("%d",&s);
      |     ~~~~~^~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1393, expect 1394. 3ms 384.0 KiB
#2 Wrong Answer Read 170, expect 171. 2ms 384.0 KiB
#3 Accepted 6ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Wrong Answer Read 151, expect 152. 2ms 384.0 KiB
#6 Wrong Answer Read 79, expect 80. 2ms 384.0 KiB
#7 Wrong Answer Read 382, expect 383. 3ms 384.0 KiB
#8 Wrong Answer Read 2117, expect 2118. 2ms 384.0 KiB
#9 Wrong Answer Read 402, expect 403. 5ms 384.0 KiB
#10 Wrong Answer Read 1351, expect 1353. 7ms 384.0 KiB

信息

递交者
类型
递交
题目
P1188 最大约数和
题目数据
下载
语言
C++
递交时间
2022-06-05 21:54:17
评测时间
2022-06-05 22:02:32
评测机
分数
20
总耗时
38ms
峰值内存
384.0 KiB