记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
    7 |     for(int i=1;i<=2*a;i++)
      |                 ~^~~~~
foo.cc:9:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    9 |     while(a!=0)
      |     ^~~~~
foo.cc:11:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   11 |         cout<<"YES";
      |         ^~~~
foo.cc:5:22: warning: unused variable 'cnt' [-Wunused-variable]
    5 |     unsigned int a,d,cnt=0;
      |                      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read YES, expect NO. 4ms 256.0 KiB
#2 Wrong Answer 0a1,4 > NO > NO > NO > YES 2ms 256.0 KiB
#3 Wrong Answer 1a2,4 > YES > YES > YES 1ms 384.0 KiB
#4 Wrong Answer 1a2,3 > YES > NO 1ms 256.0 KiB
#5 Wrong Answer 1a2,5 > YES > YES > NO > YE 1ms 256.0 KiB
#6 Wrong Answer 1a2,419 > NO > YES > NO > Y 1ms 256.0 KiB
#7 Wrong Answer 0a1,362 > NO > NO > YES > N 1ms 256.0 KiB
#8 Wrong Answer 0a1,187 > NO > YES > YES > 2ms 256.0 KiB
#9 Wrong Answer 0a1,2 > NO > NO 1a4,411 > YE 2ms 256.0 KiB
#10 Wrong Answer 1a2,500 > NO > YES > NO > N 1ms 256.0 KiB
#11 Wrong Answer 0a1,2 > NO > NO 1a4,46948 > 5ms 256.0 KiB
#12 Wrong Answer 0a1 > NO 1a3,32944 > YES > N 2ms 256.0 KiB
#13 Wrong Answer 1a2,39227 > NO > NO > YES > 3ms 256.0 KiB
#14 Wrong Answer 1a2,21032 > YES > NO > YES 3ms 256.0 KiB
#15 Wrong Answer 1a2,50000 > YES > NO > NO > 2ms 256.0 KiB
#16 Wrong Answer 0a1 > NO 1a3,424203 > NO > Y 134ms 344.0 KiB
#17 Wrong Answer 1a2,153363 > YES > YES > NO 97ms 256.0 KiB
#18 Wrong Answer 1a2,214769 > NO > YES > YES 162ms 256.0 KiB
#19 Wrong Answer 0a1,155383 > NO > YES > YES 52ms 256.0 KiB
#20 Wrong Answer 1a2,500000 > YES > YES > YES 45ms 256.0 KiB

信息

递交者
类型
递交
题目
P1229 A 阅读程序
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 20:48:52
评测时间
2022-08-21 20:48:52
评测机
分数
0
总耗时
530ms
峰值内存
384.0 KiB