QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#75595#4878. Easy ProblemLeafSeekWA 5ms14768kbC++144.6kb2023-02-05 21:09:292023-02-05 21:09:31

詳細信息

Test #1:

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

input:

1
4 3
3 3 2 2
1 2 2
3 3 3
2 2 4

output:

2 5 2 0 

result:

ok 4 number(s): "2 5 2 0"

Test #2:

score: -100
Wrong Answer
time: 5ms
memory: 11276kb

input:

200
10 10
441129649 175970039 478629746 150210377 473385687 400931249 155714650 270352812 293555449 444876725
1 1 114317839
1 1 158354349
1 4 13054554
1 3 562005243
1 3 114310710
1 1 481426141
1 2 150800722
1 1 224503966
2 3 106234607
1 2 6235654
10 10
216212720 595995796 317909277 459839404 7779474...

output:

1108783988 952641490 795605114 13054554 0 0 0 0 0 0 
608974640 444907672 198220395 146074643 98876749 98876749 0 0 0 0 
705855899 1614073073 1565354654 1087055465 1097923412 658626033 0 0 0 0 
1317049808 1096875303 838020955 1130264137 705133476 705133476 244998554 244998554 244998554 0 
650384552 7...

result:

wrong answer 22nd numbers differ - expected: '1806578664', found: '1614073073'