记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:29:27: warning: statement has no effect [-Wunused-value]
   29 |                         ok==0;
      |                         ~~^~~
foo.cc:8:32: warning: unused variable 's' [-Wunused-variable]
    8 |         int xmin,xmax,a[10000],s,s1;
      |                                ^
foo.cc:8:34: warning: unused variable 's1' [-Wunused-variable]
    8 |         int xmin,xmax,a[10000],s,s1;
      |                                  ^~
foo.cc:37:15: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized]
   37 |         cout<<n;
      |               ^
foo.cc:33:18: note: 'n' was declared here
   33 |          int m=0,n;
      |                  ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 8. 4ms 412.0 KiB
#2 Wrong Answer Read 9, expect 2. 4ms 412.0 KiB
#3 Wrong Answer Read 9, expect 0. 3ms 412.0 KiB
#4 Wrong Answer Read 9, expect 5. 5ms 412.0 KiB
#5 Wrong Answer Read 9, expect 3. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
3-1 整数中的数字
比赛
2023暑期青少年社团(训练赛)
语言
C++
递交时间
2023-08-16 14:44:50
评测时间
2023-08-16 14:44:50
评测机
分数
0
总耗时
20ms
峰值内存
412.0 KiB