QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#462442#6885. Simple Tree ProblemGuanYunchangWA 1797ms136816kbC++203.7kb2024-07-03 19:22:452024-07-03 19:22:45

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1797ms
memory: 136816kb

input:

10000
96
378804736 378804736 101171470 683875564 378804736 997225055 448759149 683875564 683875564 997225055 152015654 83284224 229458933 101171470 229458933 448759149 448759149 152015654 101171470 600214219 378804736 997225055 448759149 152015654 229458933 229458933 83284224 997225055 229458933 600...

output:

2
2
0
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
3
693199681
3
693199681
693199681
693199681
693199681
693199681
69319968...

result:

wrong answer 1st lines differ - expected: '997225055', found: '2'