QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#584789#4515. TrianglesZ_3010 0ms3588kbC++175.1kb2024-09-23 16:45:272024-09-23 16:45:27

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3588kb

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
9 6 4
Case #2: -800120306 681957950
-800120120 681958048
-800120239 681957972
-800120068 681958102
-800120280 681957977
-800120254 681958004

result:

wrong answer you placed -800120306 triangles but jury placed 2 triangles (test case 2)

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:


result: