QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#508476#5040. Dirichlet $k$-th rootZhangYiDeRE 0ms3576kbC++201.0kb2024-08-07 16:06:432024-08-07 16:06:43

详细

Test #1:

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

input:

5 2
1 8 4 26 6

output:

1 4 2 5 3 

result:

ok 5 number(s): "1 4 2 5 3"

Test #2:

score: -100
Runtime Error

input:

1000 10
1 516238479 765833625 408427111 593035929 984641872 149832309 743527500 533342020 315774476 81082172 461044503 235289865 539969249 564590101 736090497 933661679 394417077 377363949 717587561 143428748 321957671 413061277 166846744 532438287 802900949 101236134 182814904 328306207 83339054 87...

output:


result: