QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#206056#7333. DominoesHuangHanShengAC ✓1ms3440kbC++201.1kb2023-10-07 18:20:132023-10-07 18:20:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3436kb

input:

1
2

output:

1 1 1 2
1 3 1 4
1 5 1 6

result:

ok OK!

Test #2:

score: 0
Accepted
time: 1ms
memory: 3440kb

input:

50
888
171
6
7
8
9
10
1000
1
2
3
4
5
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
71
172
516
669
997

output:

impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
1 1 1 2
1 1 1 2
1 3 1 4
1 5 1 6
1 1 1 2
1 3 1 4
2 1 3 1
1 5 1 6
2 4 3 4
3 2 3 3
0 0 0 1
0 2 1 2
0 3 0 4
1 0 2 0
1 1 2 1
1 3 2 3
2 2 3 2
1 4 2 4
3 4 3 3
3 0 3 1
impossible
impossible
impossible
impossible
impossib...

result:

ok OK!