QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#293822#7759. Permutation Counting 2DitaMirika#0 265ms25772kbC++201.2kb2023-12-29 20:01:112024-07-04 03:15:52

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 25712kb

input:

7 1001458121

output:

1 0 0 0 0 0 0
0 56 56 8 0 0 0
0 56 610 457 67 1 0
0 8 408 1382 576 42 0
0 0 35 409 642 105 0
0 0 0 8 56 56 0
0 0 0 0 0 0 1

result:

wrong answer 17th words differ - expected: '659', found: '610'

Subtask #2:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 4ms
memory: 25724kb

input:

14 1000253273

output:

1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 455 3003 6435 5005 1365 105 1 0 0 0 0 0 0
0 3003 105898 667888 1515880 1474903 642880 119013 7743 106 0 0 0 0
0 6435 660881 9134972 38572214 67610996 55695092 22274969 4138476 310088 6650 13 0 0
0 5005 1446096 36994052 255182763 686198017 857647647 537414393 169781301 2...

result:

wrong answer 31st words differ - expected: '112905', found: '105898'

Subtask #3:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 265ms
memory: 25772kb

input:

36 1003299797

output:

1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 7770 435897 10295472 124403620 854992152 552567909 334501587 855871755 616535351 836177106 87288018 849183199 348330136 38608020 2324784 66045 666 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 435897 131143134 538301002 306834061 1817...

result:

wrong answer 75th words differ - expected: '133844910', found: '131143134'

Subtask #4:

score: 0
Runtime Error

Test #11:

score: 0
Runtime Error

input:

96 1005401729

output:


result:


Subtask #5:

score: 0
Runtime Error

Test #16:

score: 0
Runtime Error

input:

496 1005266363

output:


result: