/ 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 200ms 13.887 MiB
#2 Accepted 205ms 12.824 MiB
#3 Accepted 210ms 14.152 MiB
#4 Accepted 203ms 12.949 MiB
#5 Accepted 205ms 14.691 MiB
#6 Time Exceeded ≥2003ms ≥13.203 MiB
#7 Time Exceeded ≥2002ms ≥13.41 MiB
#8 Time Exceeded ≥2002ms ≥14.895 MiB
#9 Time Exceeded ≥2000ms ≥15.008 MiB
#10 Time Exceeded ≥2004ms ≥15.426 MiB

信息

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