QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#559340 | #1163. Another Tree Queries Problem | Creeper_l | WA | 0ms | 17220kb | C++14 | 9.5kb | 2024-09-11 21:26:57 | 2024-09-11 21:26:57 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 17220kb
input:
5 4 2 2 5 1 5 1 3 5 2 2 4 3 4 2 1 5 2 5 5 3 2
output:
i = 1 dfn = 1 i = 2 dfn = 3 i = 3 dfn = 5 i = 4 dfn = 4 i = 5 dfn = 2 u = 2 v = 2 2 x = 1 >>> 2 2 l = 3 r = 3 sum = 1 l = 1 r = 3 sum = 1 l = 1 r = 5 sum = 1 --------------u = 4 v = 2 4 x = 2 >>> 4 2 l = 3 r = 3 sum = 3 l = 1 r = 3 sum = 3 l = 4 r = 4 sum = 1 l = 4 r = 5 sum = 1 l = 1 r = 5 sum = 4 ...
result:
wrong output format Expected integer, but "i" found