/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void sd(T&)':
foo.cc:13:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(c=gc(),47<c&&c<58)x=x*10+c-48;x*=y;
     ^~~~~
foo.cc:13:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     while(c=gc(),47<c&&c<58)x=x*10+c-48;x*=y;
                                         ^
foo.cc: In function 'void we(T)':
foo.cc:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(C>1<<20)Ot();if(x<0)sr[++C]=45,x=-x;
     ^~
foo.cc:18:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if(C>1<<20)Ot();if(x<0)sr[++C]=45,x=-x;
                     ^~
foo.cc:20:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(sr[++C]=z[Z],--Z);sr[++C]='\n';
     ^~~~~
foo.cc:20:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     while(sr[++C]=z[Z],--Z);sr[++C]='\n';
                             ^~
foo.cc: In function 'int main()':
foo.cc:5:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 #define file(s) freopen(s".in","r",stdin),freopen(s".out","w",stdout)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:76:9: note: in expansion of macro 'file'
         file("s");
         ^~~~
foo.cc:5:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 #define file(s) freopen(s".in","r",stdin),freopen(s".out","w",stdout)
                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:76:9: note: in expansion of macro 'file'
         file("s");
         ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥2411ms ≥16.5 MiB
#2 Time Exceeded ≥2409ms ≥16.484 MiB
#3 Time Exceeded ≥2413ms ≥17.363 MiB
#4 Time Exceeded ≥2410ms ≥17.383 MiB
#5 Time Exceeded ≥2427ms ≥17.375 MiB
#6 Time Exceeded ≥2427ms ≥17.387 MiB
#7 Time Exceeded ≥2418ms ≥16.492 MiB
#8 Time Exceeded ≥2418ms ≥16.5 MiB
#9 Time Exceeded ≥2420ms ≥18.387 MiB
#10 Time Exceeded ≥2439ms ≥18.383 MiB

信息

递交者
类型
递交
题目
P2043 历史
语言
C++
递交时间
2021-07-17 15:00:49
评测时间
2021-07-17 16:01:02
评测机
分数
0
总耗时
≥24197ms
峰值内存
≥18.387 MiB