QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#458241#6858. Play on TreeZhaoZiLongAC ✓112ms22992kbC++231.1kb2024-06-29 16:25:062024-06-29 16:25:08

詳細信息

Test #1:

score: 100
Accepted
time: 112ms
memory: 22992kb

input:

3
199999
144802 35753
35753 9646
9646 148183
9646 167003
9646 199831
9646 193968
9646 182279
9646 185547
9646 106896
9646 196577
9646 150627
9646 147736
9646 180949
9646 179482
9646 196999
9646 191636
9646 184859
9646 173080
9646 155500
9646 191682
9646 169619
9646 191285
9646 106525
9646 187324
964...

output:

256641286
960854812
384481201

result:

ok 3 lines