QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#43981#4600. GilneaslarryzhongAC ✓1766ms149540kbC++172.3kb2022-08-12 01:14:492022-08-12 01:14:51

詳細信息

Test #1:

score: 100
Accepted
time: 1766ms
memory: 149540kb

input:

4
200000 200000
1 2 2 1 5 5 6 7 8 5 8 6 12 14 2 12 4 9 2 17 10 19 16 10 18 7 7 13 28 6 23 31 21 13 15 5 27 4 32 15 4 40 19 18 34 19 8 32 30 19 48 33 15 34 18 36 3 56 36 59 56 60 15 51 29 11 63 35 14 39 41 46 50 70 71 75 69 58 62 29 28 78 15 47 57 59 8 73 48 29 19 56 75 44 28 35 17 25 61 42 87 6 5 19...

output:

706075944
925415091
656041388
241292250

result:

ok 4 lines