/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void DancingLinks::remove(int)':
/in/foo.cc:57:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (!node[ptr].exist) return; node[ptr].exist=false; 
         ^~
/in/foo.cc:57:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (!node[ptr].exist) return; node[ptr].exist=false; 
                                       ^~~~
/in/foo.cc: In member function 'void DancingLinks::restore(int)':
/in/foo.cc:64:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (node[ptr].exist) return; node[ptr].exist=true;
         ^~
/in/foo.cc:64:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (node[ptr].exist) return; node[ptr].exist=true;
                                      ^~~~
/in/foo.cc: In function 'void print()':
/in/foo.cc:151: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:151: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 157ms 27.0 MiB
#2 Accepted 181ms 27.0 MiB
#3 Accepted 151ms 27.0 MiB
#4 Accepted 18ms 27.0 MiB
#5 Accepted 156ms 27.0 MiB
#6 Accepted 155ms 27.109 MiB
#7 Accepted 155ms 27.0 MiB
#8 Accepted 154ms 27.0 MiB
#9 Accepted 148ms 27.117 MiB
#10 Accepted 12ms 27.109 MiB

信息

递交者
类型
递交
题目
P1345 数独大赛
语言
C++
递交时间
2018-08-10 16:00:02
评测时间
2018-08-10 16:00:02
评测机
分数
100
总耗时
1291ms
峰值内存
27.117 MiB