QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#480746#9115. Contour Multiplicationucup-team1565#WA 123ms9068kbC++172.6kb2024-07-16 18:18:552024-07-16 18:18:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3584kb

input:

3 100 2
0 2 4
3 0 25

output:

1 1 1 0 1 4 4 1 

result:

ok 8 tokens

Test #2:

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

input:

4 998244353 7
0 2 4
3 0 25
9 4 37
4 1 16
6 3 8
1 4 68
13 3 97

output:

1552 8 1 9700 1 64 229696 1 8 4 388 8 64 8 68 1 

result:

ok 16 tokens

Test #3:

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

input:

1 2 1
0 1 696782227

output:

1 1 

result:

ok 2 tokens

Test #4:

score: -100
Wrong Answer
time: 123ms
memory: 9068kb

input:

5 461799503 500000
26 2 741819583
24 4 16805970
5 2 192769861
5 4 365614234
31 0 680795402
23 5 256636931
24 4 150277578
3 1 912506287
27 5 785022824
1 4 645930009
8 2 715559837
3 4 166807726
22 2 584850050
23 1 481241174
7 0 947410124
0 4 588117991
13 5 882053755
16 5 430265734
29 5 324612363
9 4 8...

output:

-173676741 50350304 41520514 -145563712 -257050272 412803232 79822261 -285718127 -309903386 300805959 -320203413 -407555591 103846910 -357796111 -94322917 -159542814 -35159438 -149417010 146689104 -32802579 100942938 -140118468 -179172191 53736708 359599009 182648608 278459857 -22615368 -312718231 3...

result:

wrong answer 1st words differ - expected: '0', found: '-173676741'