QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#419519#8717. 骰子ucup-team518WA 1052ms10496kbC++172.0kb2024-05-24 00:57:172024-05-24 00:57:17

详细

Test #1:

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

input:

3 3 3
4 3 2 1
0 1 0 1000000007
0 500000004 0 500000004
0 0 500000004 500000004
1 1
1 2
1 3

output:

3
1
0

result:

ok 3 number(s): "3 1 0"

Test #2:

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

input:

3 3 6
4 3 2 1
1000000007 0 1 0
1000000007 1 0 0
1000000007 0 1 0
1 1
1 2
1 3
2 2
2 3
3 3

output:

2
1
0
3
1
2

result:

ok 6 numbers

Test #3:

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

input:

1 1 1
604063100 57375033
742299910 257700098
1 1

output:

148903503

result:

ok 1 number(s): "148903503"

Test #4:

score: -100
Wrong Answer
time: 1052ms
memory: 10496kb

input:

1500 200 600000
253665324 876103781 804024983 929290295 908790466 176299158 528078340 696679927 416465140 509641654 705083449 361711737 250659645 735832780 35321360 383752049 203979021 178832532 785212637 514502839 169840231 65809146 504755349 516829442 382478309 901925498 142312128 782336477 741339...

output:

641021793
827293559
534651432
698229640
625062358
203430385
302065343
947407516
815737485
378909984
31513586
802263535
837932821
411436905
662208904
977377749
843269384
39168435
908324054
717658684
608858910
75349446
574790417
695249248
59375030
850664471
662015873
105435114
9048780
850740786
545107...

result:

wrong answer 1st numbers differ - expected: '66394849', found: '641021793'