QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#456874#859. CivilizationsalexalexWA 5121ms14764kbC++173.7kb2024-06-28 16:17:252024-06-28 16:17:27

詳細信息

Test #1:

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

input:

1
2
1 2
3 4
1 1
2 2
6
2 2 1 1 -1 0
1 2 2 1 2 -1
2 1 3 0 1 -1
1 2 3 2 0 0
1 1 3 1 1 1
2 2 3 -1 -1 -1

output:

5 -7 -2 10 20 -10 

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 5121ms
memory: 14764kb

input:

5000
13
58 69 -65 -29 -100 3 26 -29 73 -29 -93 33 73
-77 -76 69 19 -77 -61 59 -15 85 81 -20 73 72
60 -46 -100 -59 -79 -74 -94 41 -24 -28 -5 36 70
-49 -59 -11 44 26 38 -73 92 -16 -37 -84 86 90
-19 9 -30 19 -24 88 46 -80 98 -75 14 -77 55
-41 22 -71 -75 78 -97 9 -99 95 30 41 -30 72
-31 -15 14 99 -98 -1...

output:

42103747013412 35680188991650 -6713336103808 -11059164282756 -1668545181184 -8186426524853 39582599038173 38802048647760 5920723833015 -21684163594486 -16595070672095 -11701923512925 -3008229643548 -18937722770187 56407046298711 71796328172997 -6315561061725 -24088994837750 -22482313580650 545583443...

result:

wrong output format Expected integer, but "42-409-4094351551544-158-15846...21954-4-463-1062303724037072486" found