QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#774681#3402. Box Relationsucup-team4949#WA 22ms5960kbC++141.4kb2024-11-23 13:41:002024-11-23 13:41:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 22ms
memory: 5960kb

input:

3 3
X 1 2
X 2 3
I 1 3
2 2
X 1 2
X 2 1
10 18
X 10 4
X 10 4
Y 2 8
X 7 4
Z 10 7
X 5 10
Z 2 10
X 6 10
I 8 3
X 10 9
Z 2 10
Y 5 4
Z 2 10
Y 10 3
Z 4 8
X 7 4
Y 10 4
X 5 8
828 99000
Y 757 547
X 47 555
Z 78 768
X 784 676
X 368 320
X 194 468
X 31 366
Z 105 405
Z 679 327
X 406 570
X 39 530
Y 69 130
Y 624 190
X ...

output:

Case 1: IMPOSSIBLE

Case 2: IMPOSSIBLE

Case 3: POSSIBLE
1 2 3 21 22 23 
4 5 6 24 25 26 
7 45 8 49 54 47 
57 44 9 60 52 27 
10 11 12 28 29 30 
13 14 15 31 32 33 
16 17 55 34 35 58 
42 39 41 50 53 48 
56 18 19 59 36 37 
43 20 40 51 38 46 

Case 4: IMPOSSIBLE

Case 5: POSSIBLE
1 2 3 214 215 216 
4 5 6...

result:

wrong answer Wrong Answer! (test case 3)