/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int ninth(int, int)':
/in/foo.cc:29:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(i<=3&&j<=3)return 1;if(i<=3&&j<=6)return 2;if(i<=3)return 3;
     ^~
/in/foo.cc:29:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(i<=3&&j<=3)return 1;if(i<=3&&j<=6)return 2;if(i<=3)return 3;
                            ^~
/in/foo.cc:30:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(i<=6&&j<=3)return 4;if(i<=6&&j<=6)return 5;if(i<=6)return 6;
     ^~
/in/foo.cc:30:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(i<=6&&j<=3)return 4;if(i<=6&&j<=6)return 5;if(i<=6)return 6;
                            ^~
/in/foo.cc:31:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(j<=3)return 7;if(j<=6)return 8;return 9;
     ^~
/in/foo.cc:31:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(j<=3)return 7;if(j<=6)return 8;return 9;
                      ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:72:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if((i==3&&j==4&&k==1))flag1=1;if(i==4&&j==4&&k==9)flag2=1;
                 ^~
/in/foo.cc:72:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                 if((i==3&&j==4&&k==1))flag1=1;if(i==4&&j==4&&k==9)flag2=1;
                                               ^~
/in/foo.cc:62:10: warning: variable 'flag1' set but not used [-Wunused-but-set-variable]
     bool flag1=0,flag2=0;
          ^~~~~
/in/foo.cc: In function 'int check(int, int)':
/in/foo.cc:40:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 4ms 376.0 KiB
#2 Accepted 10ms 212.0 KiB
#3 Accepted 6ms 368.0 KiB
#4 Accepted 6ms 368.0 KiB
#5 Accepted 11ms 384.0 KiB
#6 Accepted 6ms 348.0 KiB
#7 Accepted 7ms 372.0 KiB
#8 Accepted 16ms 380.0 KiB
#9 Accepted 30ms 368.0 KiB
#10 Accepted 18ms 368.0 KiB
#11 Accepted 117ms 364.0 KiB
#12 Accepted 21ms 256.0 KiB
#13 Accepted 190ms 344.0 KiB
#14 Accepted 201ms 356.0 KiB
#15 Accepted 102ms 256.0 KiB
#16 Accepted 362ms 368.0 KiB
#17 Accepted 1704ms 368.0 KiB
#18 Accepted 1841ms 200.0 KiB
#19 Accepted 157ms 360.0 KiB
#20 Accepted 267ms 360.0 KiB

信息

递交者
类型
递交
题目
P1755 靶形数独
语言
C++
递交时间
2018-09-19 18:50:42
评测时间
2018-09-19 18:50:42
评测机
分数
100
总耗时
5085ms
峰值内存
384.0 KiB