/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void DancingLinks::remove(int)':
/in/foo.cc:62:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (!exist[ptr]) return; exist[ptr]=false;
         ^~
/in/foo.cc:62:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (!exist[ptr]) return; exist[ptr]=false;
                                  ^~~~~
/in/foo.cc: In member function 'void DancingLinks::restore(int)':
/in/foo.cc:69:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (exist[ptr]) return; exist[ptr]=true;
         ^~
/in/foo.cc:69:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (exist[ptr]) return; exist[ptr]=true;
                                 ^~~~~
/in/foo.cc: In function 'void print()':
/in/foo.cc:223:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i=0;i<9;i++) for (int j=0;j<9;j++) putchar(map[i][j]+48); putchar('\n');
     ^~~
/in/foo.cc:223:72: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (int i=0;i<9;i++) for (int j=0;j<9;j++) putchar(map[i][j]+48); putchar('\n');
                                                                        ^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 195ms 23.125 MiB
#2 Accepted 116ms 23.875 MiB
#3 Accepted 194ms 23.5 MiB
#4 Accepted 185ms 23.75 MiB
#5 Accepted 183ms 23.25 MiB
#6 Accepted 190ms 23.137 MiB
#7 Accepted 188ms 23.215 MiB
#8 Accepted 188ms 23.133 MiB
#9 Accepted 14ms 23.203 MiB
#10 Accepted 54ms 23.992 MiB

信息

递交者
类型
递交
题目
P1345 数独大赛
语言
C++
递交时间
2018-08-10 14:57:36
评测时间
2018-08-10 14:57:36
评测机
分数
100
总耗时
1510ms
峰值内存
23.992 MiB