QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#496808#7259. Robotsucup-team1005#TL 7ms55392kbC++204.4kb2024-07-28 16:15:392024-07-28 16:15:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 55392kb

input:

5 10
1 0 U
3 1 U
1 2 R
1 1 L
0 1 R

output:

1 10
3 6
9 2
-8 1
8 1

result:

ok 10 numbers

Test #2:

score: -100
Time Limit Exceeded

input:

100000 1000000000000000000
158260522 833086986 U
158260522 426364560 L
158260522 759037020 R
158260522 427764980 L
158260522 603003082 L
158260522 781408312 L
158260522 596708907 U
158260522 589131680 D
158260522 30921931 L
158260522 867704537 L
158260522 594273744 R
158260522 45480206 D
158260522 5...

output:


result: