/ 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 (!node[ptr].exist) return; node[ptr].exist=false; 
         ^~
/in/foo.cc:62: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:69:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (node[ptr].exist) return; node[ptr].exist=true;
         ^~
/in/foo.cc:69: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: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 16ms 27.0 MiB
#2 Accepted 55ms 27.0 MiB
#3 Accepted 136ms 27.0 MiB
#4 Accepted 131ms 27.125 MiB
#5 Accepted 138ms 27.086 MiB
#6 Accepted 143ms 27.0 MiB
#7 Accepted 119ms 27.0 MiB
#8 Accepted 137ms 27.0 MiB
#9 Accepted 128ms 27.0 MiB
#10 Accepted 74ms 27.113 MiB

信息

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