记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   12 |     for(int i=1;i<na+nb;i++)
      |     ^~~
foo.cc:15:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   15 |  cout<<ans;
      |  ^~~~
foo.cc:5:22: warning: unused variable 'b' [-Wunused-variable]
    5 |  int na,nb,a[100000],b[100000],ans=1;
      |                      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 768.0 KiB
#2 Accepted 2ms 768.0 KiB
#3 Wrong Answer Read 951, expect 950. 2ms 768.0 KiB
#4 Wrong Answer Read 992, expect 991. 3ms 768.0 KiB
#5 Wrong Answer Read 1001, expect 1000. 4ms 768.0 KiB

信息

递交者
类型
递交
题目
2-3 参赛人数
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 18:21:47
评测时间
2022-07-28 18:21:47
评测机
分数
40
总耗时
15ms
峰值内存
768.0 KiB