QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502946#5640. Tight-Fit Sudokuxiaowuc1100 ✓2ms3480kbC++173.3kb2024-08-03 15:36:492024-08-03 15:36:56

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 2ms
memory: 3480kb

input:

20
1
-/- -/5 4 3 2 -/-
- 6 -/- -/- - -/-
- 7/- - -/- -/- 2
8 -/- -/- - -/3 -
-/- - -/- -/- 4 -
-/- 8 7 6 5/- -/-
2
- -/- -/- -/5 3 7
1/- - - 2 4/8 6/-
-/- - - - -/- -/-
- -/5 1/2 6/9 - -
- 2/7 6/9 4/- - -
-/- - - - -/- -/-
3
- 1/6 3 -/- - 7/-
- -/- -/- - - 6/-
- - - 1/- 6/- 4/-
-/6 -/8 -/7 - - -
-/4...

output:

1
7/9 1/5 4 3 2 6/8
3 6 2/8 1/9 7 4/5
1 7/9 3 4/5 6/8 2
8 2/4 5/6 7 1/3 9
5/6 3 1/9 2/8 4 7
2/4 8 7 6 5/9 1/3
2
2 6/9 4/8 1/5 3 7
1/7 3 5 2 4/8 6/9
6/9 8 7 3 2/5 1/4
3 4/5 1/2 6/9 7 8
5 2/7 6/9 4/8 1 3
4/8 1 3 7 6/9 2/5
3
8 1/6 3 4/5 2 7/9
7 2/9 4/5 3 1 6/8
9 3 2 1/7 6/8 4/5
5/6 4/8 1/7 9 3 2
3/4 5 ...

result:

ok 140 lines