记录详情

Wrong Answer

foo.cc: In function 'int isin(int*, int, int)':
foo.cc:5:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    5 |  for(int i=0;i<al;i++)if(a[i]==n)return 1;return 0;
      |  ^~~
foo.cc:5:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    5 |  for(int i=0;i<al;i++)if(a[i]==n)return 1;return 0;
      |                                           ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 30, expect 29. 5ms 384.0 KiB
#2 Wrong Answer Read 266, expect 264. 6ms 512.0 KiB
#3 Wrong Answer Read 872, expect 950. 4ms 384.0 KiB
#4 Wrong Answer Read 524, expect 991. 11ms 384.0 KiB
#5 Wrong Answer Read 90, expect 1000. 23ms 384.0 KiB

信息

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