QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#403492#4114. 序列统计dXqwq100 ✓62ms4268kbC++233.1kb2024-05-02 13:50:272024-05-02 13:50:29

詳細信息

Test #1:

score: 10
Accepted
time: 1ms
memory: 4096kb

input:

709 53 9 27
0 3 4 5 7 9 10 15 16 17 19 22 23 24 25 28 29 30 31 33 37 38 40 41 42 50 52

output:

170454910

result:

ok single line: '170454910'

Test #2:

score: 10
Accepted
time: 1ms
memory: 4128kb

input:

819644598 71 64 34
0 3 6 7 10 16 19 21 25 31 32 34 38 40 41 42 43 44 45 46 48 49 51 54 55 56 57 58 59 65 67 68 69 70

output:

599133595

result:

ok single line: '599133595'

Test #3:

score: 10
Accepted
time: 0ms
memory: 4216kb

input:

878507241 89 74 41
2 4 7 9 13 15 18 19 21 22 23 24 29 30 33 36 37 38 40 48 49 50 51 53 54 56 60 63 64 66 67 69 72 74 75 76 78 80 81 82 83

output:

249602758

result:

ok single line: '249602758'

Test #4:

score: 10
Accepted
time: 7ms
memory: 4164kb

input:

920165332 739 92 372
0 2 3 5 6 9 10 14 15 16 17 18 19 22 24 26 29 31 34 35 39 40 43 44 45 46 47 48 49 50 53 59 62 63 65 69 73 76 77 78 79 81 82 90 91 94 95 96 99 103 104 106 110 112 114 117 118 119 120 122 123 124 125 128 130 131 133 134 135 137 139 140 142 143 144 145 147 149 151 152 154 155 156 15...

output:

721859054

result:

ok single line: '721859054'

Test #5:

score: 10
Accepted
time: 7ms
memory: 4144kb

input:

992254127 733 613 359
0 2 4 5 7 9 10 12 14 16 17 19 20 23 24 25 28 30 31 32 36 39 42 43 47 48 49 51 52 53 55 58 60 61 63 64 65 66 68 69 70 72 78 79 80 81 82 85 86 89 90 92 94 96 100 102 103 106 109 113 114 120 121 123 124 127 129 130 133 134 137 140 143 144 145 147 150 151 155 157 158 161 162 164 16...

output:

317097647

result:

ok single line: '317097647'

Test #6:

score: 10
Accepted
time: 7ms
memory: 4092kb

input:

64343923 727 359 368
0 2 3 4 5 6 7 8 10 11 15 18 20 22 25 27 28 32 34 38 39 40 44 48 49 50 52 54 55 57 58 59 61 63 64 65 68 70 72 74 75 77 78 81 82 84 85 87 88 89 91 95 96 97 98 99 103 105 106 108 109 112 114 115 117 118 119 120 123 128 130 131 133 134 135 137 138 140 142 143 145 146 151 152 154 158...

output:

749710862

result:

ok single line: '749710862'

Test #7:

score: 10
Accepted
time: 49ms
memory: 4268kb

input:

152638504 5981 5475 3035
0 4 9 11 12 13 15 16 18 21 24 25 27 28 31 34 36 37 38 39 40 42 45 47 49 50 54 60 62 63 65 67 68 69 74 76 77 81 82 84 85 87 90 93 95 97 101 102 104 105 106 107 108 112 113 115 116 119 120 122 123 124 127 128 129 132 134 141 143 144 147 148 149 152 154 156 157 158 160 161 163 ...

output:

808995810

result:

ok single line: '808995810'

Test #8:

score: 10
Accepted
time: 55ms
memory: 4192kb

input:

181069441 4621 2722 2336
2 4 5 6 8 10 11 15 17 18 19 20 22 23 25 26 28 29 30 31 32 33 36 38 41 42 45 47 51 52 53 56 57 58 59 61 63 64 65 66 72 76 78 79 81 83 85 86 87 92 93 95 98 100 102 104 105 106 107 108 109 112 113 115 116 117 118 123 124 125 126 128 129 130 132 133 134 135 137 143 144 149 150 1...

output:

65733152

result:

ok single line: '65733152'

Test #9:

score: 10
Accepted
time: 62ms
memory: 4180kb

input:

296047095 7309 5216 3604
0 7 11 12 13 18 19 21 23 26 28 32 33 36 37 39 41 42 43 46 47 49 50 53 55 57 61 63 64 67 68 70 72 74 75 77 78 79 81 88 89 92 93 94 98 102 106 107 108 109 110 112 113 115 116 117 119 120 121 124 125 127 133 134 136 138 139 141 148 149 150 152 154 155 157 160 162 165 166 172 17...

output:

48228415

result:

ok single line: '48228415'

Test #10:

score: 10
Accepted
time: 59ms
memory: 4220kb

input:

126186662 6673 454 3335
0 3 5 7 8 9 10 11 12 13 14 15 17 19 20 21 22 23 25 27 31 35 36 37 41 42 43 44 45 46 47 49 50 51 52 60 65 67 68 69 71 72 73 74 75 77 79 80 81 82 83 85 87 88 89 90 91 93 94 96 97 101 102 109 110 111 112 114 118 121 122 124 125 127 132 133 135 137 140 143 146 148 149 150 151 152...

output:

377898802

result:

ok single line: '377898802'