记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:9: warning: statement has no effect [-Wunused-value]
      n*3+1;
      ~~~^~
/in/foo.cc:12:7: warning: statement has no effect [-Wunused-value]
      n/2;n++; 
      ~^~
/in/foo.cc:11:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if(n/2==0)
      ^~
/in/foo.cc:12:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      n/2;n++; 
          ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥216.0 KiB
#2 Time Exceeded ≥1002ms ≥220.0 KiB
#3 Time Exceeded ≥1000ms ≥228.0 KiB
#4 Time Exceeded ≥1000ms ≥216.0 KiB
#5 Time Exceeded ≥1004ms ≥216.0 KiB

信息

递交者
类型
递交
题目
2-1 单个数的3N+1猜想
比赛
2020苏青奥赛集训营(2021-2-4实验初中选拔赛)
语言
C++
递交时间
2021-02-04 13:59:21
评测时间
2021-02-04 13:59:21
评测机
分数
0
总耗时
≥5011ms
峰值内存
≥228.0 KiB