/ 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 ≥2437ms ≥18.387 MiB
#2 Time Exceeded ≥2434ms ≥18.352 MiB
#3 Time Exceeded ≥2314ms ≥18.355 MiB
#4 Time Exceeded ≥2318ms ≥18.375 MiB
#5 Time Exceeded ≥2430ms ≥18.391 MiB
#6 Time Exceeded ≥2433ms ≥18.391 MiB
#7 Time Exceeded ≥2417ms ≥17.387 MiB
#8 Time Exceeded ≥2417ms ≥17.387 MiB
#9 Time Exceeded ≥2421ms ≥17.387 MiB
#10 Time Exceeded ≥2429ms ≥17.391 MiB

信息

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