/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void bigint::read()':
/in/foo.cc:9:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while((c=getchar())<'0' || c>'9');tmp[++len]=c-'0';
   ^~~~~
/in/foo.cc:9:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
   while((c=getchar())<'0' || c>'9');tmp[++len]=c-'0';
                                     ^~~
/in/foo.cc: In member function 'void bigint::write()':
/in/foo.cc:14:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i=len;i;i--) putchar(a[i]+'0');putchar('\n');
   ^~~
/in/foo.cc:14:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i=len;i;i--) putchar(a[i]+'0');putchar('\n');
                                          ^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 376.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 196.0 KiB
#6 Accepted 3ms 336.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 3ms 340.0 KiB
#9 Accepted 3ms 344.0 KiB
#10 Accepted 3ms 368.0 KiB

信息

递交者
类型
递交
题目
P1095 约瑟夫问题10E100版
语言
C++
递交时间
2017-07-14 19:52:00
评测时间
2017-07-14 19:52:00
评测机
分数
100
总耗时
32ms
峰值内存
384.0 KiB