记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   13 |                         if(x<=a&&x>=b)
      |                         ^~
foo.cc:19:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   19 |                                 if(c=='-')
      |                                 ^~
foo.cc:5:17: warning: unused variable 'd' [-Wunused-variable]
    5 |         int a,b,d,x=0,e;
      |                 ^
foo.cc:25:15: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
   25 |         cout<<e;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -5, expect 3. 2ms 256.0 KiB
#2 Wrong Answer Read -2, expect 1. 1ms 256.0 KiB
#3 Wrong Answer Read -1, expect 1. 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Wrong Answer Read -5, expect 2. 1ms 256.0 KiB
#6 Wrong Answer Read -2, expect 2. 1ms 256.0 KiB
#7 Wrong Answer Read 8, expect 3. 1ms 256.0 KiB
#8 Wrong Answer Read 7, expect 2. 1ms 256.0 KiB
#9 Wrong Answer Read -6, expect 2. 1ms 256.0 KiB
#10 Wrong Answer Read -10, expect 2. 1ms 256.0 KiB
#11 Wrong Answer Read -5, expect 2. 1ms 256.0 KiB
#12 Wrong Answer Read 46, expect 3. 1ms 256.0 KiB
#13 Wrong Answer Read 5, expect 4. 1ms 256.0 KiB
#14 Wrong Answer Read 17, expect 3. 1ms 256.0 KiB
#15 Wrong Answer Read 50, expect 4. 1ms 256.0 KiB
#16 Wrong Answer Read -44, expect 12. 1ms 256.0 KiB
#17 Wrong Answer Read 42, expect 8. 1ms 384.0 KiB
#18 Wrong Answer Read 23, expect 2. 1ms 256.0 KiB
#19 Wrong Answer Read -29, expect 4. 1ms 256.0 KiB
#20 Wrong Answer Read -100, expect 17. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1234 D 奇怪的程序(Easy)
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 22:18:01
评测时间
2022-08-21 22:18:01
评测机
分数
5
总耗时
29ms
峰值内存
384.0 KiB