QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270902#6815. Hysteretic Racingezteam1#WA 1329ms66368kbC++143.4kb2023-12-01 17:31:322023-12-01 17:31:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 4
1 2
Q 0 0
Q 0 1
Q 0 4
Q 0 5

output:

0
1
1
0

result:

ok 4 tokens

Test #2:

score: 0
Accepted
time: 0ms
memory: 3948kb

input:

5 7
2 5 1 4 3
Q 3 28
Q 0 39
P 4 0 3
Q 2 60
R 4 1 2
Q 1 22
Q 3 19260817

output:

0
3
0
4
1

result:

ok 5 tokens

Test #3:

score: -100
Wrong Answer
time: 1329ms
memory: 66368kb

input:

200000 200000
613996 961471 536170 309149 407021 455240 358488 991078 61893 884024 149317 850785 867113 399303 403939 212239 258081 876122 195526 807123 889530 372732 596978 400631 815703 133663 994909 547857 947107 647857 602092 850543 843740 124903 157661 328300 638794 447455 172285 834119 422682 ...

output:

81822
121278
143252
126368
16581
178856
86671
68518
127080
609
81954
27570
175272
76862
154335
70548
188960
109111
44277
54668
100034
28277
119506
25525
165025
170755
139359
142050
34314
173029
79585
84051
50564
17355
29642
129463
6737
14167
199047
28217
18910
123525
15448
166472
130176
61250
180831...

result:

wrong answer 4th words differ - expected: '126362', found: '126368'