记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:30:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   30 |   if(sum%k==0&&a[i])
      |   ^~
foo.cc:32:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   32 |    i++;
      |    ^
foo.cc: In function 'int h1(int*, int)':
foo.cc:17:1: warning: control reaches end of non-void function [-Wreturn-type]
   17 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 393ms 384.0 KiB
#4 Time Exceeded ≥1097ms ≥384.0 KiB
#5 Time Exceeded ≥1101ms ≥256.0 KiB

信息

递交者
类型
递交
题目
3-2 约瑟夫问题
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 18:54:07
评测时间
2022-08-07 18:54:07
评测机
分数
60
总耗时
≥2601ms
峰值内存
≥384.0 KiB