/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void io::gi(I&)':
/in/foo.cc:31:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (x = 0; c <= '9' && c >= '0'; c = gc()) x = x * 10 + (c & 15); x *= f;
   ^~~
/in/foo.cc:31:70: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (x = 0; c <= '9' && c >= '0'; c = gc()) x = x * 10 + (c & 15); x *= f;
                                                                      ^
/in/foo.cc: In function 'void io::print(I)':
/in/foo.cc:36:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (!x) putc ('0'); if (x < 0) putc ('-'), x = -x;
   ^~
/in/foo.cc:36:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (!x) putc ('0'); if (x < 0) putc ('-'), x = -x;
                       ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:195:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d\n",(Pnum+mod)%mod);
                                 ^
/in/foo.cc:176:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,o,p,l;
          ^
/in/foo.cc:176:12: warning: unused variable 'o' [-Wunused-variable]
  int i,j,k,o,p,l;
            ^
/in/foo.cc:176:14: warning: unused variable 'p' [-Wunused-variable]
  int i,j,k,o,p,l;
              ^
/in/foo.cc:176:16: warning: unused variable 'l' [-Wunused-variable]
  int i,j,k,o,p,l;
                ^
# 状态 耗时 内存占用
#1 Accepted 171ms 12.887 MiB
#2 Accepted 174ms 10.824 MiB
#3 Accepted 184ms 12.965 MiB
#4 Accepted 175ms 10.945 MiB
#5 Accepted 166ms 10.762 MiB
#6 Time Exceeded ≥2000ms ≥13.09 MiB
#7 Time Exceeded ≥2001ms ≥11.062 MiB
#8 Time Exceeded ≥2002ms ≥14.293 MiB
#9 Time Exceeded ≥2001ms ≥11.152 MiB
#10 Time Exceeded ≥2004ms ≥14.703 MiB

信息

递交者
类型
递交
题目
P2051 快速查询
语言
C++
递交时间
2019-05-08 08:55:16
评测时间
2019-05-08 08:55:16
评测机
分数
50
总耗时
≥10883ms
峰值内存
≥14.703 MiB