记录详情

Accepted

/in/foo.cc: In function 'void dfs(char*, int, int, int)':
/in/foo.cc:24:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if(s[x]=='0'&&lens-x>1) return;s2[len]='.';
             ^~
/in/foo.cc:24:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
             if(s[x]=='0'&&lens-x>1) return;s2[len]='.';
                                            ^~
/in/foo.cc:32:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if(sum>255)break;s2[len]='.';
         ^~
/in/foo.cc:32:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if(sum>255)break;s2[len]='.';
                          ^~
/in/foo.cc: In function 'void right(int)':
/in/foo.cc:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(i=len-1,j=len;i>=0;i--,j++)go[j]=go[i];go[j]='\0';
     ^~~
/in/foo.cc:42:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(i=len-1,j=len;i>=0;i--,j++)go[j]=go[i];go[j]='\0';
                                                ^~
/in/foo.cc:44:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(i=len-2,j=len;i>=0;i--,j++)go[j]=go[i];go[j]='\0';
     ^~~
/in/foo.cc:44:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(i=len-2,j=len;i>=0;i--,j++)go[j]=go[i];go[j]='\0';
                                                ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 196.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 2ms 328.0 KiB
#4 Accepted 1ms 208.0 KiB
#5 Accepted 1ms 200.0 KiB
#6 Accepted 1ms 332.0 KiB
#7 Accepted 2ms 460.0 KiB
#8 Accepted 1ms 208.0 KiB
#9 Accepted 1ms 204.0 KiB
#10 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
题目
美丽的IP地址 (ipaddress.*)
题目数据
下载
语言
C++
递交时间
2019-12-31 10:13:06
评测时间
2019-12-31 10:13:06
评测机
分数
100
总耗时
15ms
峰值内存
460.0 KiB