QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#309508#8133. When Anton Saw This Task He Reacted With 😩ucup-team1685#TL 1ms3840kbC++2323.9kb2024-01-20 17:54:062024-01-20 17:54:08

詳細信息

Test #1:

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

input:

5 3
x 2 3
v 1 0 1
x 4 5
v 0 2 1
v 1 1 1
4 1 2 3
5 0 1 1
4 0 2 2

output:

998244351 0 2
1 998244351 998244352
0 0 0

result:

ok 9 numbers

Test #2:

score: -100
Time Limit Exceeded

input:

199999 100000
x 137025 65661
v 572518668 158967010 74946561
x 129836 192657
x 141948 187810
v 574918069 328924434 141474729
x 143312 111002
x 52772 148497
v 922857701 690080961 651915759
v 656198340 28002884 129579416
v 639893144 265359784 646791226
v 796871409 411409966 598676495
v 882562617 224394...

output:

151886823 575548598 810156919
803020898 71788881 746281481
871232724 376537837 608276417
752186842 275118684 569282313
237519285 715454450 193018493
573873180 879060967 604189626
266990711 381060130 69809534
728197120 455578705 145667248
523806280 921738947 236652987
311701515 230298289 641138693
28...

result: