QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#596999#4575. Interactive Treasure HuntHuangHanShengTL 1ms3552kbC++172.0kb2024-09-28 16:51:072024-09-28 16:51:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3552kb

input:

1
2 3
3
1
5
1
3
1
1

output:

SCAN 1 1
SCAN 1 3
SCAN 2 1
SCAN 1 2
SCAN 1 1
DIG 1 2
DIG 1 3

result:

ok (1 test case)

Test #2:

score: -100
Time Limit Exceeded

input:

72
3 3
1
5
3
1
1
1
1
3 3
4
4
4
4
4
0
0

output:

SCAN 1 1
SCAN 1 3
SCAN 3 1
SCAN 1 1
SCAN 1 1
DIG 1 1
DIG 2 1
SCAN 1 1
SCAN 1 3
SCAN 3 1
SCAN 1 2
SCAN 2 1
DIG 1 1
DIG 3 3

result: