QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#324613#8237. Sugar Sweet IIucup-team2045#WA 117ms28344kbC++172.7kb2024-02-10 21:48:462024-02-10 21:48:47

詳細信息

Test #1:

score: 100
Accepted
time: 8ms
memory: 28344kb

input:

4
4
2 5 5 2
4 2 1 3
3 2 1 4
3
5 4 3
1 1 1
6 6 6
3
5 4 3
2 3 1
1 2 3
5
2 1 3 2 1
5 1 1 3 4
1 3 4 2 4

output:

500000007 5 5 6 
5 10 9 
166666673 5 6 
500000006 4 3 4 5 

result:

ok 15 numbers

Test #2:

score: -100
Wrong Answer
time: 117ms
memory: 28268kb

input:

50000
5
508432375 168140163 892620793 578579275 251380640
3 4 4 1 3
346232959 736203130 186940774 655629320 607743104
1
863886789
1
364158084
18
864679185 463975750 558804051 604216585 694033700 499417132 375390750 337590759 467353355 111206671 983760005 984444619 322277587 138763925 205122047 97736...

output:

854665334 904343293 590444253 906393935 859123744 
863886789 
871186919 814243920 968784984 206455474 17527050 449261413 196759729 901433117 519383814 907574792 983760005 984444619 489899014 435736558 113628626 977360756 482247153 963066959 
0 0 132646723 421298438 601054667 99438820 94575413 
81954...

result:

wrong answer 25th numbers differ - expected: '665922935', found: '0'