/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'fkt operator+(fkt, fkt)':
/in/foo.cc:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(;A.numb[j+1]!=0;j++,A.numb[j+1]=A.numb[j]/10,A.numb[j]%=10);A.cnt=j;  
     ^~~
/in/foo.cc:12:69: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(;A.numb[j+1]!=0;j++,A.numb[j+1]=A.numb[j]/10,A.numb[j]%=10);A.cnt=j;  
                                                                     ^
/in/foo.cc: In function 'fkt operator-(fkt, fkt)':
/in/foo.cc:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(;A.numb[j]==0;j--);A.cnt=j;  
     ^~~
/in/foo.cc:19:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(;A.numb[j]==0;j--);A.cnt=j;  
                            ^
/in/foo.cc: In function 'fkt operator+(fkt, int)':
/in/foo.cc:26:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(;A.numb[j+1]!=0;j++,A.numb[j+1]=A.numb[j]/10,A.numb[j]%=10);A.cnt=j;  
     ^~~
/in/foo.cc:26:69: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(;A.numb[j+1]!=0;j++,A.numb[j+1]=A.numb[j]/10,A.numb[j]%=10);A.cnt=j;  
                                                                     ^
/in/foo.cc: In function 'int qaq::main()':
/in/foo.cc:33:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(i=l1=1;i<=k;i++)    l1*=2;l1--;  
         ^~~
/in/foo.cc:33:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(i=l1=1;i<=k;i++)    l1*=2;l1--;  
                                       ^~
/in/foo.cc:46:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(i=l2=1;i<=m;i++)    l2*=2;l2--;  
         ^~~
/in/foo.cc:46:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(i=l2=1;i<=m;i++)    l2*=2;l2--;  
                                       ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 232.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 4ms 364.0 KiB
#6 Accepted 1ms 348.0 KiB
#7 Accepted 1ms 352.0 KiB
#8 Accepted 30ms 520.0 KiB
#9 Accepted 89ms 724.0 KiB
#10 Accepted 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1315 2^k进制数
语言
C++
递交时间
2019-07-23 19:50:57
评测时间
2019-07-23 19:50:57
评测机
分数
100
总耗时
136ms
峰值内存
724.0 KiB