/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int getint()':
foo.cc:23:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar();
 ^~~~~
foo.cc:23:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
 while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar();
                                                ^~
foo.cc:24:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
 while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
 ^~~~~
foo.cc:24:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
 while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
                                                     ^~~~~~
foo.cc: In function 'int main()':
foo.cc:59:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 freopen("2001.in","r",stdin);
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:60:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 freopen("2001.out","w",stdout);
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1468ms ≥384.0 KiB
#2 Time Exceeded ≥1470ms ≥384.0 KiB
#3 Time Exceeded ≥1466ms ≥360.0 KiB
#4 Time Exceeded ≥2325ms ≥400.0 KiB
#5 Time Exceeded ≥2303ms ≥388.0 KiB
#6 Time Exceeded ≥2407ms ≥364.0 KiB
#7 Time Exceeded ≥2418ms ≥364.0 KiB
#8 Time Exceeded ≥2434ms ≥408.0 KiB
#9 Time Exceeded ≥2432ms ≥340.0 KiB
#10 Time Exceeded ≥2405ms ≥360.0 KiB

信息

递交者
类型
递交
题目
P2001 xor-sigma
语言
C++
递交时间
2021-07-22 07:41:04
评测时间
2021-07-22 07:41:04
评测机
分数
0
总耗时
≥21134ms
峰值内存
≥408.0 KiB