QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#384057#3745. 排列ucup-team1383AC ✓130ms11384kbC++201.6kb2024-04-09 20:21:482024-04-09 20:21:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 130ms
memory: 11384kb

input:

10 2
840992398 69963455 393388491 672595500 780588893 558816806 9701416 311501224 368780848 930456829
1 6
1 4
10 0
411934118 140341026 198159044 539803943 494456917 558065612 943756089 206990595 183787315 315629195
10 16
162867395 704155151 462516209 378129375 222657670 984933865 265046889 623734262...

output:

81887267
0
2457714684
6401740820
5424851458
3900698784
8717116385
504197343
1452641706
1954315205
3617274900
2180299880
3543452014
14778816638
7499458544
12651888201
7478884769
0
12134304884
1547767459
11362940
16127124432
1439378250
11365774290
4220050883
7009786663
952110870
11437926977
7275268979...

result:

ok 5000 numbers