记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:21: warning: unused variable 'cnt' [-Wunused-variable]
    6 |         int n,m,l,r,cnt[105]={0},jian=0,jia=0,ans=0;
      |                     ^~~
foo.cc:6:47: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
    6 |         int n,m,l,r,cnt[105]={0},jian=0,jia=0,ans=0;
      |                                               ^~~
foo.cc:13:13: warning: unused variable 'x' [-Wunused-variable]
   13 |         int x=jia-jian;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -3, expect 3. 1ms 256.0 KiB
#2 Wrong Answer Read 0, expect 1. 2ms 256.0 KiB
#3 Wrong Answer Read 0, expect 1. 2ms 256.0 KiB
#4 Wrong Answer Read -1, expect 2. 1ms 256.0 KiB
#5 Wrong Answer Read -1, expect 2. 1ms 256.0 KiB
#6 Wrong Answer Read -1, expect 2. 2ms 256.0 KiB
#7 Wrong Answer Read -2, expect 3. 1ms 256.0 KiB
#8 Wrong Answer Read -2, expect 2. 1ms 256.0 KiB
#9 Wrong Answer Read -1, expect 2. 1ms 256.0 KiB
#10 Wrong Answer Read -2, expect 2. 1ms 256.0 KiB
#11 Wrong Answer Read -1, expect 2. 1ms 256.0 KiB
#12 Wrong Answer Read -7, expect 3. 1ms 256.0 KiB
#13 Wrong Answer Read -4, expect 4. 1ms 256.0 KiB
#14 Wrong Answer Read -5, expect 3. 1ms 256.0 KiB
#15 Wrong Answer Read -9, expect 4. 1ms 256.0 KiB
#16 Wrong Answer Read -24, expect 12. 1ms 256.0 KiB
#17 Wrong Answer Read -21, expect 8. 1ms 256.0 KiB
#18 Wrong Answer Read -5, expect 2. 1ms 256.0 KiB
#19 Wrong Answer Read -14, expect 4. 1ms 256.0 KiB
#20 Wrong Answer Read -72, expect 17. 1ms 256.0 KiB

信息

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