QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#461792#6863. OrMaMengQiAC ✓2509ms113824kbC++173.0kb2024-07-03 02:09:332024-07-03 02:09:34

詳細信息

Test #1:

score: 100
Accepted
time: 2509ms
memory: 113824kb

input:

4
40000 400000
548 4 34696904 0 7256657 310 0 253420460 0 89450757 759109 77 0 505042 382936044 1481860 986 6785 6683 477367350 88280508 0 78412 0 22978423 266 47 7409042 8 98452 437468733 0 909816 426136882 38 851 22645 387376803 0 32419 45 884 35 477851795 68713 6242 89402749 0 0 292244 605599 471...

output:

447795610
14292334
96619037
930487124

result:

ok 4 lines