QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#93479#21403. 文艺平衡树larryzhong#WA 2ms3532kbC++171.5kb2023-03-31 22:06:512023-03-31 22:06:53

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3532kb

input:

30 5
7 26
7 18
5 9
4 15
3 15

output:

1 2 4 17 16 15 6 5 18 19 20 21 22 23 3 24 25 26 14 13 12 11 10 9 8 7 27 28 29 30 

result:

ok single line: '1 2 4 17 16 15 6 5 18 19 20 21... 13 12 11 10 9 8 7 27 28 29 30 '

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3460kb

input:

100 10
9 29
10 68
7 72
15 73
57 79
4 39
11 69
45 61
1 42
15 21

output:

44 45 46 47 4 5 43 42 41 40 39 38 37 36 78 79 31 32 33 34 35 77 75 76 74 24 23 22 21 20 19 18 54 53 52 50 51 49 1 2 3 48 6 72 63 64 65 66 67 68 29 8 73 7 25 26 27 28 69 70 71 62 60 61 59 58 57 56 55 17 11 12 13 14 15 16 10 9 30 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 

result:

wrong answer 1st lines differ - expected: '5 4 47 46 45 44 43 42 41 40 39... 91 92 93 94 95 96 97 98 99 100', found: '44 45 46 47 4 5 43 42 41 40 39...91 92 93 94 95 96 97 98 99 100 '