QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#687931#7335. EvacuationqiuzxTL 4ms23308kbC++204.6kb2024-10-29 21:58:382024-10-29 21:58:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 23308kb

input:

1
2
3 -1 1
2 1 1
3
1 1
3 1
2 1

output:

@@*

result:

ok single line: '@@*'

Test #2:

score: -100
Time Limit Exceeded

input:

1109
9
11 16 5
18 -3 7
45 -5 2
7 4 3
19 -2 7
16 10 4
30 1 7
11 8 3
41 -10 7
9
19 4
18 4
17 1
35 4
11 12
45 -8
19 6
7 6
7 7
8
8 -6 2
2 3 1
11 -5 2
15 -3 4
21 2 3
5 0 1
8 -3 1
14 4 4
5
21 -1
17 2
13 -1
21 9
17 4
6
6 8 2
4 6 2
10 9 1
11 8 1
15 2 1
6 5 1
8
3 2
10 8
3 3
3 4
10 9
13 5
7 6
12 9
3
34 8 4
17...

output:

*@@@**@*@
*@@@*
*@@@**@*
*@@@**@@@*@
@@@@@*@
**********
*******
******
******
********
*********
********
***********
**********
*****
********
******
*******
*********
*****
*******
******
***********
********
********
*******
**************
***************@***@*************@***********************...

result: