记录详情

Time Exceeded

/in/foo.c: In function 'factor':
/in/foo.c:12:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(i<=K);
  ^~~~~
/in/foo.c:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  {
  ^
/in/foo.c: In function 'main':
/in/foo.c:47:9: warning: too many arguments for format [-Wformat-extra-args]
  printf("Factors:", num);
         ^~~~~~~~~~
/in/foo.c:44:8: warning: 'num' is used uninitialized in this function [-Wuninitialized]
     sum=factor(m,fac, num);//一改错
     ~~~^~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1001ms ≥212.0 KiB
#2 Time Exceeded ≥1001ms ≥208.0 KiB
#3 Time Exceeded ≥1001ms ≥128.0 KiB
#4 Time Exceeded ≥1000ms ≥208.0 KiB
#5 Time Exceeded ≥1002ms ≥212.0 KiB

信息

递交者
类型
递交
题目
7-1 改错题
语言
C
递交时间
2019-08-25 15:44:00
评测时间
2019-08-25 15:44:00
评测机
分数
0
总耗时
≥5007ms
峰值内存
≥212.0 KiB