QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#508468#5040. Dirichlet $k$-th rootMaMengQiRE 0ms3696kbC++201.0kb2024-08-07 15:59:592024-08-07 15:59:59

詳細信息

Test #1:

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

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: