记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:39:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=m;i++)
  ^~~
/in/foo.cc:41:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   fz(1,n);
   ^~
/in/foo.cc: In function 'void fz(int, int)':
/in/foo.cc:9:17: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int ans=99999,k;
                 ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1002ms ≥204.0 KiB
#2 Wrong Answer 1ms 204.0 KiB
#3 Time Exceeded ≥1001ms ≥200.0 KiB
#4 Runtime Error 3ms 332.0 KiB
#5 Runtime Error 3ms 332.0 KiB
#6 Runtime Error 4ms 332.0 KiB
#7 Runtime Error 3ms 328.0 KiB
#8 Runtime Error 4ms 332.0 KiB
#9 Runtime Error 3ms 324.0 KiB
#10 Runtime Error 3ms 332.0 KiB

信息

递交者
类型
递交
题目
P1012 最近数
语言
C++
递交时间
2019-07-03 16:42:34
评测时间
2019-07-03 16:42:34
评测机
分数
0
总耗时
2032ms
峰值内存
332.0 KiB