/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void IO::read(T&)':
/in/foo.cc:17:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(c=gc();c>='0'&&c<='9';c=gc())x=(x<<3)+(x<<1)+(c^48);x*=f;
   ^~~
/in/foo.cc:17:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(c=gc();c>='0'&&c<='9';c=gc())x=(x<<3)+(x<<1)+(c^48);x*=f;
                                                           ^
/in/foo.cc: In function 'void IO::wer(T)':
/in/foo.cc:22:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(z[++Z]=x%10+'0',x/=10);if(f)z[++Z]='-';
   ^~~~~
/in/foo.cc:22:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   while(z[++Z]=x%10+'0',x/=10);if(f)z[++Z]='-';
                                ^~
/in/foo.cc:23:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(sr[++C]=z[Z],--Z);sr[++C]='\n';
   ^~~~~
/in/foo.cc:23:27: 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';
                           ^~
# 状态 耗时 内存占用
#1 Accepted 32ms 328.0 KiB
#2 Accepted 33ms 324.0 KiB
#3 Accepted 225ms 716.0 KiB
#4 Accepted 178ms 576.0 KiB
#5 Accepted 84ms 1.07 MiB
#6 Accepted 90ms 2.324 MiB
#7 Accepted 38ms 1.199 MiB
#8 Accepted 34ms 1.062 MiB
#9 Accepted 5ms 464.0 KiB

信息

递交者
类型
递交
题目
P1426 兴奋剂检查
语言
C++
递交时间
2017-10-26 22:06:31
评测时间
2017-10-26 22:06:31
评测机
分数
100
总耗时
724ms
峰值内存
2.324 MiB