QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#585045#4515. TrianglesZ_3010 1ms3868kbC++175.7kb2024-09-23 18:34:332024-09-23 18:34:33

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3868kb

input:

100
10
220238472 224691753
770968360 1070897
222060078 225731229
213423928 -699125511
571809960 -531790999
-29325160 82281481
523892900 397968241
134123366 175551277
-48116654 71558357
79192162 144205493
6
-800120306 681957950
-800120120 681958048
-800120239 681957972
-800120068 681958102
-800120280...

output:

Case #1: 3
7 3 2
1 8 5
6 9 4
Case #2: 2
1 3 2
5 6 4
Case #3: 4
11 7 12
4 8 3
10 6 9
1 5 2
Case #4: 0
Case #5: 2
3 2 5
6 4 1
Case #6: 3
1 7 4
9 2 5
3 8 6
Case #7: 2
7 3 5
4 2 6
Case #8: 3
5 4 1
7 8 9
10 6 2
Case #9: 4
11 3 9
4 5 6
1 7 8
10 12 2
Case #10: 2
5 1 4
2 3 6
Case #11: 4
11 8 5
9 10 12
3 6 2...

result:

wrong answer Integer 0 violates the range [1, 7] (test case 91)

Test #2:

score: 0
Runtime Error

input:

100
3000
-92089322 -224238223
-92147554 -225776486
-91601000 -225100640
-92024176 -225644144
-90703509 -224917680
-89202055 -225283952
-92681755 -224149407
-92347180 -225441739
-92259568 -225588653
-91979455 -224254694
-92673281 -224244242
-92527577 -224172521
-90804449 -224883170
-92641474 -2249482...

output:

Case #1: 1000
2743 436 1593
169 2938 1759
2812 2792 46
2457 624 2863
424 2409 1335
2697 999 311
238 2919 1523
1095 1332 1042
787 1515 1830
534 2114 916
1336 2496 2666
275 2023 1693
1297 2685 2234
589 2755 533
1087 1182 2993
2173 2386 1185
2184 1958 2878
2232 2584 764
235 1570 747
2911 2850 57
1713 2...

result: