QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#478993#6858. Play on TreeCirno#AC ✓108ms22336kbC++14944b2024-07-15 13:38:472024-07-15 13:38:48

詳細信息

Test #1:

score: 100
Accepted
time: 108ms
memory: 22336kb

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