QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#214845#6549. Two Missing Numbersucup-team2045#0 569ms3908kbC++177.2kb2023-10-15 00:28:022023-10-15 00:28:02

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3704kb

First Run Input

1 5
5 1 4 4 5

First Run Output

773445 16538001458513958194

Second Run Input

2 3 773445 16538001458513958194
9 9 3 

Second Run Output

1 3

result:

ok correct

Test #2:

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

First Run Input

1 1
0

First Run Output

773444 11658232127074170506

Second Run Input

2 1 773444 11658232127074170506
1

Second Run Output

0 1

result:

ok correct

Test #3:

score: 100
Accepted
time: 1ms
memory: 3636kb

First Run Input

1 1
10625130587464985929

First Run Output

10625130587464605709 17044461759875564403

Second Run Input

2 1 10625130587464605709 17044461759875564403
1167154569617655189

Second Run Output

1167154569617655189 10625130587464985929

result:

ok correct

Test #4:

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

First Run Input

1 0

First Run Output

0 0

Second Run Input

2 2 0 0
14205293878974412429 14539925169898881927 

Second Run Output

14205293878974412429 14539925169898881927

result:

ok correct

Test #5:

score: 100
Accepted
time: 1ms
memory: 3824kb

First Run Input

1 2
6710336009326057226 6575759325380514973

First Run Output

458853999611790231 17425998671695895111

Second Run Input

2 0 458853999611790231 17425998671695895111

Second Run Output

6575759325380514973 6710336009326057226

result:

ok correct

Test #6:

score: 100
Accepted
time: 1ms
memory: 3888kb

First Run Input

1 100
164 209 59 177 234 45 59 9 241 79 200 49 60 225 85 191 170 29 89 1 182 29 186 16 161 0 12 52 3 190 1 3 21 147 25 71 6 216 211 48 78 49 42 240 240 42 9 253 186 247 21 164 202 196 11 54 172 253 30 144 197 213 102 192 80 187 222 236 64 47 28 8 182 193 252 60 193 45 62 86 158 192 86 39 215 236 98 ...

First Run Output

117 7789744260316947609

Second Run Input

2 100 117 7789744260316947609
142 56 197 213 127 238 12 56 166 234 170 101 134 209 171 200 39 101 218 227 113 181 47 227 78 25 207 100 216 100 147 151 181 207 177 241 77 158 238 115 57 53 43 8 218 136 172 48 11 247 139 144 115 85 139 252 179 89 120 246 116 163 215 64 166 191 57 127 71 225 79 196 27 ...

Second Run Output

116 128

result:

ok correct

Test #7:

score: 100
Accepted
time: 1ms
memory: 3904kb

First Run Input

1 100
97 186 80 160 153 60 161 226 46 83 255 30 150 248 92 241 71 169 186 228 3 114 203 14 98 183 210 10 215 205 236 137 97 159 175 178 181 43 32 210 156 18 43 176 89 241 220 212 147 197 55 230 155 71 98 223 46 112 92 138 119 207 204 151 155 214 89 132 65 56 220 110 104 83 246 19 111 212 243 237 75 ...

First Run Output

203 3854105355020094101

Second Run Input

2 100 203 3854105355020094101
110 91 132 69 112 90 179 134 160 237 69 5 178 93 195 106 100 32 60 62 191 156 91 169 223 56 5 59 200 111 52 59 138 2 251 181 55 195 235 24 24 147 137 248 2 106 153 200 204 76 150 226 207 116 104 175 47 80 149 214 242 94 244 93 100 236 116 224 244 75 14 90 149 158 48 242...

Second Run Output

233 183

result:

ok correct

Test #8:

score: 100
Accepted
time: 1ms
memory: 3660kb

First Run Input

1 100
148 122 2 166 205 214 37 126 13 3 156 204 193 224 74 122 185 45 239 11 154 249 213 161 212 14 202 73 217 194 199 193 166 18 199 254 41 19 98 145 8 218 41 130 15 239 121 162 163 168 184 135 37 177 161 160 138 126 2 176 249 142 116 65 165 136 220 138 147 65 81 177 228 90 116 164 91 250 165 204 1...

First Run Output

111 5601837876449437869

Second Run Input

2 100 111 5601837876449437869
214 26 11 211 45 80 57 156 23 79 66 173 8 73 76 163 90 212 80 79 15 58 182 145 234 16 49 32 201 194 110 147 167 230 121 39 39 162 143 110 3 32 78 238 201 232 228 153 226 142 217 136 224 206 154 197 164 226 74 184 242 182 160 168 58 149 220 173 254 148 206 186 218 111 14...

Second Run Output

130 190

result:

ok correct

Test #9:

score: 100
Accepted
time: 1ms
memory: 3828kb

First Run Input

1 100
206 8 126 199 147 158 81 206 96 10 38 44 236 139 221 232 190 82 240 100 161 157 201 121 190 139 177 11 94 161 236 121 187 97 191 59 58 98 4 224 27 8 93 56 204 84 67 12 227 87 154 187 94 215 16 61 241 38 113 128 10 157 16 86 71 61 119 36 195 96 208 149 68 155 57 199 231 201 0 246 42 58 50 247 5...

First Run Output

170 1202431435878341206

Second Run Input

2 100 170 1202431435878341206
111 69 207 40 184 241 99 182 194 12 191 186 34 44 98 74 128 115 135 36 240 41 150 119 42 68 111 27 175 227 0 1 39 247 158 100 117 82 39 122 194 184 114 117 93 208 109 52 106 214 159 224 40 246 214 204 4 177 52 162 182 207 223 11 71 223 154 97 195 230 59 54 34 122 57 84 ...

Second Run Output

88 232

result:

ok correct

Test #10:

score: 100
Accepted
time: 1ms
memory: 3636kb

First Run Input

1 100
61 32 42 83 213 11 125 63 221 135 71 188 222 56 198 90 95 151 231 238 218 196 45 51 156 48 82 252 113 15 232 42 50 194 236 53 60 125 65 45 247 95 8 1 52 97 145 52 182 148 39 137 242 163 218 157 90 97 152 173 83 221 39 187 211 82 198 161 87 61 16 0 248 21 16 75 8 216 207 137 65 152 229 222 104 ...

First Run Output

25 5866786348038664058

Second Run Input

2 100 25 5866786348038664058
87 194 145 144 183 164 207 60 165 96 71 14 251 197 187 122 73 182 1 188 248 243 100 147 30 11 75 224 113 14 107 230 175 211 58 30 238 17 10 247 240 96 206 50 231 19 232 213 148 242 19 161 164 173 51 124 73 212 53 206 165 124 17 31 246 122 123 31 0 224 56 251 63 151 18 22...

Second Run Output

10 147

result:

ok correct

Test #11:

score: 100
Accepted
time: 1ms
memory: 3828kb

First Run Input

1 100
145 61 171 134 48 87 115 254 4 147 122 233 217 200 227 111 110 101 105 186 104 119 136 185 31 249 226 168 206 66 251 42 191 38 40 145 3 19 238 23 129 163 56 67 51 216 195 82 61 69 252 179 82 101 94 163 127 251 51 53 238 23 123 127 212 45 50 32 169 157 37 241 197 68 12 27 174 41 133 252 31 220 ...

First Run Output

179 7772736177775039354

Second Run Input

2 100 179 7772736177775039354
249 33 42 118 32 88 128 118 195 95 152 216 147 33 234 135 68 131 241 245 12 254 96 157 131 13 104 86 55 4 171 162 206 168 141 183 225 98 19 186 36 94 50 36 183 169 219 174 11 114 245 70 48 185 70 220 114 20 123 134 27 41 225 37 232 76 233 56 197 141 226 67 128 119 219 1...

Second Run Output

45 189

result:

ok correct

Test #12:

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

First Run Input

1 100
28 166 241 232 241 46 116 216 245 246 50 163 119 128 250 203 105 93 53 75 195 171 203 56 168 81 207 176 4 179 53 85 234 237 70 244 148 151 108 255 51 174 10 195 87 189 145 236 177 56 133 47 50 222 225 20 117 219 83 150 122 150 86 122 228 31 210 115 28 182 128 85 64 33 29 118 104 77 70 44 172 1...

First Run Output

78 11321769453905393582

Second Run Input

2 100 78 11321769453905393582
255 245 31 227 210 171 183 189 118 178 165 212 181 192 35 16 115 45 135 16 182 178 183 20 163 35 246 165 63 10 179 64 47 77 209 139 81 4 174 116 231 243 222 135 218 248 216 60 29 164 237 93 63 155 139 90 87 104 228 86 8 181 166 176 32 225 191 243 192 41 32 191 75 248 17...

Second Run Output

60 212

result:

ok correct

Test #13:

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

First Run Input

1 100
205 77 207 109 79 210 39 229 110 176 73 64 191 196 19 187 220 176 184 7 241 34 194 35 81 153 213 100 224 19 81 97 146 53 128 190 41 110 73 146 158 205 173 75 207 6 210 26 21 222 72 49 169 253 227 180 208 118 27 9 221 59 22 187 88 112 38 57 3 253 164 58 224 68 57 201 179 128 72 21 208 191 39 22...

First Run Output

71 11529175882718134151

Second Run Input

2 100 71 11529175882718134151
168 201 77 165 54 45 105 79 149 151 88 61 145 94 228 199 122 213 34 27 123 229 22 124 68 158 94 233 24 193 54 6 165 221 45 199 112 132 179 26 160 60 130 61 227 30 46 111 41 164 38 215 124 145 160 84 149 35 180 241 46 9 64 245 130 220 163 245 7 102 248 78 24 14 3 58 97 1...

Second Run Output

50 248

result:

ok correct

Test #14:

score: 100
Accepted
time: 1ms
memory: 3664kb

First Run Input

1 100
212 103 154 96 172 136 247 10 180 112 218 69 141 218 177 23 194 107 220 179 249 155 248 29 189 61 11 105 51 141 205 19 252 162 249 115 230 61 96 172 140 164 19 7 25 87 174 184 79 68 55 81 230 103 91 196 140 171 28 243 47 128 215 62 92 238 205 23 248 179 244 226 49 35 184 166 151 51 112 213 213...

First Run Output

245 12692405762641868334

Second Run Input

2 100 245 12692405762641868334
161 138 253 208 164 150 228 62 226 71 138 115 20 255 247 92 7 254 67 107 255 81 99 232 127 223 69 127 128 212 156 49 168 214 233 13 68 161 148 55 238 189 136 129 47 79 162 53 148 233 25 29 170 208 232 34 244 254 151 180 121 220 170 53 135 150 174 156 253 58 66 155 42 2...

Second Run Output

91 32

result:

ok correct

Test #15:

score: 100
Accepted
time: 1ms
memory: 3688kb

First Run Input

1 100
148 244 183 59 237 16 71 109 66 13 188 6 90 240 181 185 211 70 43 230 115 147 116 119 120 35 227 136 148 178 161 86 136 244 250 152 192 145 171 52 212 34 216 192 237 241 159 96 154 254 6 115 58 153 239 150 229 105 145 226 168 234 54 236 42 75 120 52 224 188 172 236 13 140 157 99 169 137 165 10...

First Run Output

2 3660293397065424940

Second Run Input

2 100 2 3660293397065424940
177 252 39 161 183 227 105 85 238 69 200 102 250 153 171 42 102 18 85 57 57 90 106 108 139 18 8 147 155 154 194 138 50 155 35 117 43 67 185 196 162 201 169 101 197 51 197 216 22 224 172 87 23 226 196 96 137 23 70 116 109 238 198 69 19 140 165 194 160 150 241 159 51 240 20...

Second Run Output

8 254

result:

ok correct

Test #16:

score: 100
Accepted
time: 1ms
memory: 3792kb

First Run Input

1 100
71 40 7 142 91 200 152 168 159 37 74 181 212 137 94 138 126 210 197 235 153 17 72 62 116 117 231 186 142 36 240 201 117 36 244 102 42 184 197 65 133 180 77 126 194 38 233 152 84 174 84 80 144 225 2 62 32 202 159 161 136 255 147 162 60 161 45 185 243 174 43 111 52 25 248 43 29 220 138 68 116 17...

First Run Output

137 3714636660820975411

Second Run Input

2 100 137 3714636660820975411
72 156 216 220 188 94 252 50 25 111 1 102 22 50 100 156 248 239 8 184 6 165 201 37 181 89 235 83 34 165 233 99 96 7 252 112 77 188 2 143 185 255 99 58 74 80 136 162 13 83 21 57 190 147 76 210 89 33 180 29 60 144 143 177 231 32 212 97 253 216 158 21 240 34 91 57 133 207 ...

Second Run Output

38 243

result:

ok correct

Test #17:

score: 100
Accepted
time: 1ms
memory: 3892kb

First Run Input

1 100
28 61 46 181 27 216 183 50 139 64 12 62 5 163 187 201 21 92 158 58 97 178 224 20 221 116 32 19 93 92 22 247 107 6 90 156 60 238 116 68 243 122 180 70 81 241 36 93 50 241 103 135 232 180 26 96 14 216 78 188 167 109 85 68 88 179 221 174 6 238 151 81 252 74 132 145 220 205 143 32 108 195 3 231 19...

First Run Output

212 17758494289551724231

Second Run Input

2 100 212 17758494289551724231
64 209 107 203 9 48 167 203 27 44 243 160 74 39 118 102 90 26 190 161 28 108 25 84 190 103 149 61 5 25 158 46 60 142 45 22 105 174 170 229 231 84 201 9 249 45 191 229 232 126 181 163 247 62 205 170 58 20 105 179 12 145 89 191 188 149 151 21 109 118 249 59 11 48 187 36 ...

Second Run Output

160 161

result:

ok correct

Test #18:

score: 100
Accepted
time: 1ms
memory: 3640kb

First Run Input

1 100
166 37 192 191 81 159 251 70 89 245 151 127 49 148 6 18 170 50 37 165 97 206 84 168 38 251 138 230 116 39 94 139 85 165 89 109 255 240 244 128 71 204 6 41 138 76 97 2 245 31 134 36 191 66 152 76 224 215 64 2 71 240 31 132 148 49 94 224 134 129 228 70 142 204 80 64 156 114 42 128 39 66 116 81 1...

First Run Output

84 14098429974185068127

Second Run Input

2 100 84 14098429974185068127
159 42 200 227 163 58 168 87 238 206 163 216 144 90 68 58 85 28 180 198 68 129 136 193 210 209 244 140 180 172 82 190 59 84 108 170 114 190 215 144 192 59 199 122 229 226 124 164 186 142 28 69 186 73 140 216 210 209 156 119 29 50 228 193 103 238 41 227 253 117 109 32 29...

Second Run Output

73 127

result:

ok correct

Test #19:

score: 100
Accepted
time: 1ms
memory: 3680kb

First Run Input

1 100
207 144 83 94 93 83 93 233 65 71 137 64 50 88 164 213 5 162 136 140 132 75 190 2 55 249 100 116 19 88 232 34 230 71 160 137 75 4 143 84 181 79 25 30 236 215 196 86 53 74 113 70 111 66 184 27 184 203 170 33 153 27 206 66 54 246 207 241 43 161 143 132 218 4 168 135 123 33 158 190 111 141 16 197 ...

First Run Output

75 13556517230550346313

Second Run Input

2 100 75 13556517230550346313
30 55 168 64 19 213 80 158 54 95 43 31 38 123 49 128 165 160 204 38 148 2 79 148 49 145 149 221 185 149 232 254 140 128 144 10 235 135 226 118 94 74 242 172 193 118 246 198 136 25 170 53 226 134 249 113 86 39 1 91 139 198 31 95 126 164 26 45 45 236 197 180 235 180 165 2...

Second Run Output

218 167

result:

ok correct

Test #20:

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

First Run Input

1 100
82 255 167 135 187 80 247 245 96 192 15 246 44 35 21 244 132 22 26 219 55 8 237 247 155 56 6 72 4 31 198 81 135 17 4 45 240 116 142 165 58 40 91 101 35 118 207 174 178 246 36 70 43 11 254 39 11 216 6 207 173 92 200 118 80 205 108 78 131 217 241 143 205 210 60 15 216 51 67 164 125 254 165 241 1...

First Run Output

68 10796956379096264536

Second Run Input

2 100 68 10796956379096264536
43 154 218 51 224 96 56 116 163 17 157 45 142 5 217 67 106 198 26 232 36 119 157 140 16 218 140 228 187 255 222 1 240 212 93 91 7 90 1 19 22 178 3 239 101 19 192 173 203 103 42 232 131 57 93 210 104 174 90 155 239 81 163 219 115 38 72 5 38 250 104 224 42 231 132 231 60 ...

Second Run Output

115 250

result:

ok correct

Test #21:

score: 100
Accepted
time: 1ms
memory: 3664kb

First Run Input

1 100
192 137 78 126 98 237 6 131 143 103 178 130 245 70 65 247 248 0 100 166 227 92 118 94 183 199 251 87 101 13 154 12 252 67 198 148 73 152 232 253 2 24 126 42 98 196 53 48 255 54 139 230 32 238 155 27 128 247 53 119 4 3 186 100 212 13 246 198 223 143 248 192 3 157 56 187 66 4 226 249 142 241 157...

First Run Output

16 8514752255957789151

Second Run Input

2 100 16 8514752255957789151
24 199 165 111 201 252 118 146 30 27 253 56 149 238 50 183 52 186 232 237 137 214 86 203 244 96 249 65 50 70 165 244 182 5 96 166 226 131 32 0 142 148 101 173 185 187 30 69 203 146 156 156 255 155 69 181 182 119 149 161 91 6 66 245 181 114 174 130 227 152 241 154 48 251 ...

Second Run Output

52 212

result:

ok correct

Test #22:

score: 100
Accepted
time: 1ms
memory: 3904kb

First Run Input

1 100
207 133 134 162 121 99 171 97 238 77 199 125 53 6 239 152 45 104 49 173 196 158 92 9 192 30 201 61 124 11 236 100 180 53 154 135 21 36 163 47 111 6 239 137 141 171 154 91 85 104 131 189 102 91 186 13 146 245 246 1 168 111 33 156 235 30 137 18 118 66 42 100 244 78 114 192 60 52 13 238 180 141 2...

First Run Output

180 2708185404239440950

Second Run Input

2 100 180 2708185404239440950
42 72 130 99 235 221 173 15 133 85 70 189 153 54 54 33 156 130 25 190 165 51 162 52 145 134 50 254 164 1 39 78 25 21 158 168 2 201 131 26 77 199 26 186 200 142 241 4 164 145 94 110 47 166 126 68 32 152 114 166 5 60 66 92 126 170 181 94 163 51 207 68 254 181 124 251 153 ...

Second Run Output

5 18

result:

ok correct

Test #23:

score: 100
Accepted
time: 1ms
memory: 3636kb

First Run Input

1 100
23 219 47 226 53 212 33 182 156 235 72 66 75 133 160 218 204 159 210 42 70 52 31 16 6 159 212 178 220 230 234 91 181 176 65 143 249 175 113 13 108 176 192 52 139 103 243 31 224 200 23 89 165 65 201 246 153 243 213 233 117 42 6 116 66 94 234 203 109 207 233 175 180 155 99 251 53 55 80 204 60 14...

First Run Output

55 4598750945710712761

Second Run Input

2 100 55 4598750945710712761
99 166 117 56 167 155 68 169 143 106 215 224 240 41 113 170 170 232 248 139 169 231 4 12 121 120 178 215 8 182 83 37 47 108 13 110 59 121 133 246 35 92 181 95 109 101 165 71 95 203 231 172 120 110 205 248 41 78 210 16 56 198 218 201 166 240 172 249 80 200 180 167 35 37 2...

Second Run Output

12 232

result:

ok correct

Test #24:

score: 100
Accepted
time: 1ms
memory: 3656kb

First Run Input

1 100
141 73 3 98 199 45 2 220 22 34 131 9 189 70 211 134 28 7 98 67 6 84 87 43 58 32 10 217 50 52 234 103 41 135 28 45 66 193 231 254 183 8 17 0 151 183 46 158 73 96 162 181 162 27 103 20 114 254 160 3 246 31 22 138 68 12 50 109 204 245 246 208 32 114 248 61 185 151 199 125 0 232 230 168 133 243 23...

First Run Output

106 7855620730866105881

Second Run Input

2 100 106 7855620730866105881
10 41 226 100 243 106 248 134 65 12 91 171 253 159 55 104 46 132 201 132 112 193 198 236 104 112 113 58 6 116 113 189 171 201 52 84 1 43 48 135 69 109 131 185 106 166 127 91 234 229 80 237 226 205 2 232 217 159 133 99 158 20 65 125 181 143 31 155 240 96 231 25 1 67 237 ...

Second Run Output

70 141

result:

ok correct

Test #25:

score: 100
Accepted
time: 1ms
memory: 3692kb

First Run Input

1 100
143 66 145 157 35 1 103 228 214 169 201 251 41 252 26 139 209 55 120 108 109 179 124 57 140 252 123 209 57 87 154 216 195 98 210 215 134 254 126 103 163 153 135 246 122 183 108 150 176 134 156 66 161 214 25 82 17 68 254 202 62 136 131 189 132 195 192 90 221 30 13 143 162 238 152 43 17 192 210 ...

First Run Output

241 12605221578071347060

Second Run Input

2 100 241 12605221578071347060
203 141 160 68 13 37 237 223 174 81 129 132 238 226 215 217 126 141 109 201 80 24 160 19 123 25 152 19 112 184 156 217 148 222 213 136 82 41 239 145 183 228 129 62 37 47 131 31 176 169 29 244 222 157 162 148 120 223 216 110 77 208 189 239 48 98 48 202 112 124 35 87 246...

Second Run Output

30 24

result:

ok correct

Test #26:

score: 100
Accepted
time: 1ms
memory: 3860kb

First Run Input

1 100
56 130 16 237 199 145 172 5 132 234 105 234 235 60 145 216 97 152 63 126 241 161 19 198 219 95 255 33 240 157 199 198 226 120 180 200 18 90 241 91 168 85 245 74 120 67 143 222 82 9 90 68 200 158 158 152 127 15 53 18 78 37 105 102 37 78 148 216 25 144 77 209 159 170 33 245 19 64 95 129 122 22 1...

First Run Output

142 9090995632991076230

Second Run Input

2 100 142 9090995632991076230
5 51 65 253 206 122 68 206 231 167 22 239 231 174 155 246 157 85 38 107 15 26 174 46 67 4 222 167 210 220 147 225 63 235 97 72 65 176 74 249 165 207 240 202 207 55 155 26 226 55 220 221 30 190 38 132 130 178 249 123 4 165 144 148 51 168 170 126 225 176 190 27 72 161 91 ...

Second Run Output

246 147

result:

ok correct

Test #27:

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

First Run Input

1 100
11 223 19 136 192 207 35 249 49 35 11 28 248 165 113 25 86 133 215 163 136 108 160 165 132 203 97 59 190 251 203 110 13 108 212 206 71 103 138 129 156 23 215 119 102 119 49 236 217 164 63 249 4 0 187 225 139 163 252 90 160 193 23 65 5 84 226 101 34 76 176 183 238 216 187 87 227 217 58 63 91 80...

First Run Output

15 1947936869742569264

Second Run Input

2 100 15 1947936869742569264
121 70 8 139 97 103 251 98 146 0 213 238 230 10 214 172 172 252 153 197 6 101 45 183 174 38 38 181 70 158 121 76 153 164 28 234 218 228 133 113 13 218 193 144 212 234 129 10 102 91 223 240 71 69 45 145 111 236 232 225 232 4 174 132 65 176 3 90 156 146 111 128 34 80 197 2...

Second Run Output

122 191

result:

ok correct

Test #28:

score: 100
Accepted
time: 1ms
memory: 3872kb

First Run Input

1 100
204 218 184 190 204 138 37 220 122 144 14 189 81 101 177 95 109 226 219 241 226 186 191 37 129 2 170 241 177 102 243 250 160 80 109 19 218 144 129 255 50 217 216 91 78 143 189 122 115 61 17 247 59 217 160 71 244 2 185 54 216 40 53 215 69 149 55 59 30 205 192 191 103 27 86 105 173 85 45 1 250 2...

First Run Output

213 2363808051277959920

Second Run Input

2 100 213 2363808051277959920
126 106 223 223 153 246 225 19 74 17 45 153 149 165 192 225 61 82 58 47 203 121 175 170 66 184 169 28 77 115 255 103 106 77 150 80 175 27 243 239 200 53 221 215 247 203 78 135 249 65 74 47 67 186 55 208 167 101 102 169 150 244 167 7 99 1 161 50 165 90 58 90 161 54 69 15...

Second Run Output

86 173

result:

ok correct

Test #29:

score: 100
Accepted
time: 1ms
memory: 3864kb

First Run Input

1 100
3 85 31 51 204 71 23 224 32 112 95 114 246 100 67 49 228 5 60 170 147 148 149 27 16 225 40 27 178 250 70 150 232 170 129 71 42 245 235 96 127 60 51 12 23 166 1 229 100 114 115 81 166 16 238 29 198 42 204 4 14 3 230 5 4 150 40 77 127 198 182 155 67 14 75 155 144 158 199 89 233 219 213 244 229 1...

First Run Output

226 17764500008758357273

Second Run Input

2 100 226 17764500008758357273
10 128 76 181 199 252 213 139 220 62 144 115 38 249 143 36 206 186 49 123 1 226 89 228 48 149 152 29 225 245 61 15 222 246 250 232 129 53 226 207 173 249 53 177 182 131 85 43 81 93 180 2 222 87 139 77 122 235 62 131 220 158 207 210 2 95 186 255 123 76 38 181 48 148 10 ...

Second Run Output

126 224

result:

ok correct

Test #30:

score: 100
Accepted
time: 1ms
memory: 3896kb

First Run Input

1 100
19 186 180 191 42 62 76 255 75 250 79 108 54 165 66 37 134 169 88 39 164 234 82 13 197 170 139 173 188 61 204 100 201 250 138 95 97 239 14 12 145 141 193 158 130 218 248 188 49 145 33 69 102 29 238 193 239 69 55 149 169 42 252 207 200 14 2 84 102 160 17 139 170 141 210 180 85 203 146 243 204 2...

First Run Output

67 9173187619031273322

Second Run Input

2 100 67 9173187619031273322
97 181 143 107 22 105 255 192 50 54 65 192 152 126 126 138 165 0 179 59 130 45 137 49 73 79 105 73 80 4 12 101 62 134 200 66 112 234 146 183 96 76 158 80 248 101 0 7 4 179 114 173 210 55 95 142 176 100 88 44 198 218 198 112 39 144 2 147 212 238 142 195 195 50 150 152 61 ...

Second Run Output

82 103

result:

ok correct

Test #31:

score: 100
Accepted
time: 1ms
memory: 3860kb

First Run Input

1 100
95 1 242 145 162 105 59 54 92 29 78 53 168 69 112 157 239 158 148 122 85 6 74 236 239 129 68 40 19 127 125 129 246 238 14 245 245 179 233 107 244 126 69 163 131 153 45 168 232 90 227 58 79 44 86 24 241 54 174 1 196 126 115 30 179 90 232 10 153 127 131 20 108 227 212 117 190 238 216 187 35 149 ...

First Run Output

81 8343415864616529251

Second Run Input

2 100 81 8343415864616529251
115 208 144 35 140 164 216 149 157 92 78 147 29 104 6 100 234 244 137 5 229 150 41 14 94 100 114 20 208 213 234 45 180 158 21 187 206 26 41 148 49 250 21 188 236 190 70 94 58 108 74 147 205 137 176 188 114 122 117 242 85 172 110 86 24 172 130 26 243 145 246 30 213 205 24...

Second Run Output

19 31

result:

ok correct

Test #32:

score: 100
Accepted
time: 1ms
memory: 3868kb

First Run Input

1 100
60 121 215 198 202 9 160 82 123 240 103 252 253 174 109 0 200 15 216 200 236 219 47 223 175 139 204 148 211 223 151 63 174 28 38 61 16 47 99 246 92 91 206 126 96 38 254 68 15 40 178 141 118 215 30 43 106 181 154 192 118 239 91 242 201 51 36 209 21 155 248 192 36 205 141 25 202 69 30 206 246 10...

First Run Output

199 13337587077832266852

Second Run Input

2 100 199 13337587077832266852
205 250 151 123 67 252 101 128 12 210 63 154 115 160 228 43 251 147 0 68 228 227 170 40 248 10 175 109 242 219 106 84 178 10 103 236 180 147 196 33 204 77 227 196 111 104 21 145 133 216 169 128 181 229 110 60 54 121 70 225 12 105 16 211 9 28 166 112 77 61 170 198 69 24...

Second Run Output

110 225

result:

ok correct

Test #33:

score: 100
Accepted
time: 1ms
memory: 3908kb

First Run Input

1 100
160 69 34 111 132 191 225 10 203 216 206 12 167 182 96 225 7 51 54 174 74 41 4 114 5 124 180 9 47 72 97 7 236 94 8 170 34 128 226 242 198 191 128 138 104 86 245 48 17 149 153 13 74 110 62 81 39 153 122 29 167 112 10 244 234 246 8 48 119 36 132 201 195 18 57 72 165 249 114 122 39 149 43 195 120...

First Run Output

198 15099117501065956859

Second Run Input

2 100 198 15099117501065956859
84 143 41 37 203 245 226 141 169 62 144 112 97 123 159 244 175 131 4 146 182 120 57 234 69 138 13 66 239 249 193 240 170 146 159 5 239 123 30 107 66 156 33 144 210 107 50 9 85 58 201 103 124 110 210 29 174 165 17 43 60 180 81 104 47 242 206 131 94 198 18 238 28 54 103 ...

Second Run Output

60 229

result:

ok correct

Test #34:

score: 100
Accepted
time: 1ms
memory: 3656kb

First Run Input

1 100
219 39 6 101 172 243 90 96 179 25 244 176 115 53 101 85 164 237 248 48 22 134 220 179 149 187 216 112 225 237 38 250 220 139 22 125 227 24 78 226 241 141 112 202 89 134 54 229 177 120 217 241 107 124 92 21 252 29 66 136 20 7 74 172 171 215 210 69 73 161 114 250 193 161 201 62 143 16 110 54 210...

First Run Output

177 3875920545083503832

Second Run Input

2 100 177 3875920545083503832
38 150 231 150 160 49 77 103 78 177 199 243 215 66 46 84 139 187 235 162 153 115 90 120 110 202 43 49 251 85 170 147 249 197 103 227 199 98 160 43 39 21 138 196 104 74 127 9 62 197 92 249 203 236 84 70 151 16 20 153 217 148 229 25 114 138 104 9 235 6 244 89 125 141 149 ...

Second Run Output

231 143

result:

ok correct

Test #35:

score: 100
Accepted
time: 1ms
memory: 3880kb

First Run Input

1 100
184 216 225 121 106 139 121 130 61 17 155 198 25 34 64 184 41 112 6 65 70 109 213 159 230 243 111 63 147 87 89 246 23 141 149 243 210 141 198 118 233 129 212 131 210 125 161 6 75 182 8 118 50 103 85 106 109 125 119 123 220 89 116 11 220 25 19 142 66 51 155 152 208 128 212 37 223 84 116 222 237...

First Run Output

118 14364536353887260511

Second Run Input

2 100 118 14364536353887260511
31 164 81 218 97 235 63 185 150 8 97 114 126 23 206 87 126 193 237 102 150 40 242 112 161 159 156 50 129 239 169 149 54 64 14 65 148 41 147 114 171 31 242 105 51 240 225 130 214 81 214 222 182 218 113 231 145 145 123 80 207 32 233 216 235 252 240 17 223 213 246 164 148...

Second Run Output

207 231

result:

ok correct

Test #36:

score: 100
Accepted
time: 20ms
memory: 3876kb

First Run Input

1 10000
18766 15855 23032 13563 31049 11059 23957 27890 30245 30715 4528 7814 3574 4300 27687 11702 20803 22861 12643 19429 20691 3255 2685 8077 22482 16851 27038 11015 31340 18919 18192 29037 13798 14281 12047 384 24435 20568 25454 32007 18824 7806 7901 1211 12998 23128 29768 20066 1975 23256 17204...

First Run Output

28219 330398670001946667

Second Run Input

2 10000 28219 330398670001946667
1986 13194 16564 6225 21529 1067 21049 16806 4278 18014 13144 14479 14517 28594 27219 16072 16224 23304 20647 26843 27441 16541 4395 30806 24307 11630 9313 15184 16258 20239 11898 27574 22205 24661 242 9589 12110 3166 4544 26509 8859 27109 31832 8916 11104 23893 1933...

Second Run Output

27602 30143

result:

ok correct

Test #37:

score: 100
Accepted
time: 25ms
memory: 3676kb

First Run Input

1 10000
26926 29119 8301 7702 18334 13443 9961 496 2819 21881 2208 20735 2149 10659 30076 14743 32193 8643 21146 28261 24427 11159 1947 13547 32014 12705 13843 30503 1991 18403 16704 10728 2238 30148 15557 17694 20374 6065 23944 4758 636 6238 5278 2625 31651 4257 24223 29986 3071 18023 18396 21234 1...

First Run Output

2417 5804643336085322261

Second Run Input

2 10000 2417 5804643336085322261
10715 27080 5595 1637 16343 6785 11894 15974 3261 3980 17216 10664 17847 20204 24850 5745 2103 333 29763 12117 8369 25733 15995 11923 10245 25943 19117 11292 12196 15257 27943 5056 16354 21554 10067 14157 4033 29960 26604 16232 4628 349 25983 3319 2467 27258 32404 35...

Second Run Output

18187 14207

result:

ok correct

Test #38:

score: 100
Accepted
time: 20ms
memory: 3636kb

First Run Input

1 10000
5307 23348 19208 4822 25251 18201 25987 24261 11469 22862 27778 8610 12461 15878 1013 31886 2488 1862 30405 25212 2789 27205 812 18415 27640 22907 32287 28634 11103 14687 4772 18123 1993 15630 11562 9072 18566 5282 25705 13435 5969 25476 6453 14537 20770 9342 26065 4075 9376 18430 7536 26338...

First Run Output

21323 17988792091689546342

Second Run Input

2 10000 21323 17988792091689546342
26390 26155 19901 16188 22615 6528 12537 26587 1927 159 17751 13082 25959 16750 8336 21844 11913 1074 27675 3791 1718 27351 31349 7378 29468 25087 12793 13885 29943 29681 5915 22973 13348 12433 14041 19185 26730 28042 6288 23289 8998 16777 1687 7141 16827 7067 5344...

Second Run Output

24733 31998

result:

ok correct

Test #39:

score: 100
Accepted
time: 17ms
memory: 3864kb

First Run Input

1 10000
131 4369 8032 18505 25506 23304 27216 3737 21267 1143 32539 25989 19251 29449 2670 9900 15215 13403 22389 32641 29994 6096 13003 22119 2640 29280 6398 13177 5853 2118 1189 11511 7443 167 12836 2669 22245 18132 7708 17873 31275 1643 17088 12588 2594 6703 12404 25103 8234 10384 15678 11874 912...

First Run Output

11211 4422604250409769296

Second Run Input

2 10000 11211 4422604250409769296
25905 13220 26091 19818 15648 25025 10432 21139 28812 30462 26150 23042 23327 5297 19564 30709 11893 7145 1472 7893 3842 4397 17429 4938 19260 26694 22543 26043 5882 26425 25908 15223 28382 27517 15975 10617 22628 19188 27658 22802 1170 3245 3559 8807 18864 18349 10...

Second Run Output

32581 30641

result:

ok correct

Test #40:

score: 100
Accepted
time: 19ms
memory: 3660kb

First Run Input

1 10000
26030 10957 30113 223 144 17779 20970 5167 31120 5220 32328 16547 11350 31758 9296 27212 12165 31965 9350 7919 13288 4910 29557 27244 21425 7979 22922 21583 30607 24636 20440 29104 5876 5011 32155 21218 28522 27214 30071 1136 28451 30259 18818 16960 17525 31418 29651 23301 25034 16127 18613 ...

First Run Output

6732 8908702231061217439

Second Run Input

2 10000 6732 8908702231061217439
18060 27503 1862 2936 6860 26801 6717 4559 8185 20599 8177 19896 7278 22157 19160 9398 13118 32169 27275 6779 29679 3308 4898 3415 16581 9586 20231 10118 14334 9852 9683 21391 15081 8593 2720 3434 29311 20208 29037 16252 19879 5612 28015 10345 10945 30708 12144 6629 ...

Second Run Output

18616 25308

result:

ok correct

Test #41:

score: 100
Accepted
time: 20ms
memory: 3904kb

First Run Input

1 10000
16928 27178 8610 19215 6190 27182 3377 29977 9448 5972 7343 3048 7535 24089 32528 25364 29528 16033 13364 21934 6285 9188 5840 32491 26736 19053 22542 4167 7024 7272 12221 1193 21501 31692 1459 12963 22967 21880 11905 8817 20539 9294 28260 25719 20964 30314 29264 28001 4827 21320 2875 12600 ...

First Run Output

5339 14810168388008260675

Second Run Input

2 10000 5339 14810168388008260675
23406 17853 15928 13330 31750 25791 17291 9035 6909 8839 9265 30835 12206 10710 30322 23170 31279 4346 12323 1232 13787 29404 25919 27840 28856 27896 1762 13913 12219 5421 25499 11592 29254 8172 3482 17239 19865 28711 32325 4470 25444 14341 29595 7963 31833 17050 28...

Second Run Output

8082 13556

result:

ok correct

Test #42:

score: 100
Accepted
time: 20ms
memory: 3800kb

First Run Input

1 10000
12922 29718 10160 12713 27530 13460 28024 9488 10028 784 17946 31959 18610 19487 19433 21873 30794 25695 5855 21642 27713 29151 9038 30195 31499 22692 10947 10181 1548 27744 7435 1603 10560 16280 18390 7205 18393 26394 6262 22522 24765 2710 746 22183 16557 15212 22344 18413 20416 25569 24410...

First Run Output

12567 15746084270340974818

Second Run Input

2 10000 12567 15746084270340974818
25198 16027 9435 23042 24300 6131 16943 15066 17721 30687 29834 14938 14476 828 22922 16348 32543 23273 28691 27848 14153 15906 8422 22343 18332 8838 20620 13063 23147 21738 13924 23513 6568 17578 31366 596 29420 5896 6167 23046 19626 403 15778 22318 11663 27112 12...

Second Run Output

2708 9097

result:

ok correct

Test #43:

score: 100
Accepted
time: 19ms
memory: 3676kb

First Run Input

1 10000
2839 1424 784 13072 23320 6487 31696 14095 26343 8786 15781 16278 16390 22497 22672 17110 29176 15110 12855 28162 15689 14093 4646 15630 6087 30762 12299 26123 22497 27983 17072 29528 14103 15019 32597 16619 14918 2313 29806 30709 31039 21472 19602 30458 18355 9261 23495 21036 13077 15434 23...

First Run Output

4697 12472456542524418117

Second Run Input

2 10000 4697 12472456542524418117
23044 13203 31366 19712 18477 14024 24037 25102 8255 1908 15897 10384 10632 8590 18544 14518 20560 17837 4964 2801 27003 9776 18741 16986 25152 23525 16313 30823 29261 23859 17301 31898 9499 21143 5292 629 9207 20749 21105 23361 28369 4633 27783 24695 27158 50 21658...

Second Run Output

29184 1887

result:

ok correct

Test #44:

score: 100
Accepted
time: 20ms
memory: 3692kb

First Run Input

1 10000
26906 4784 13876 19042 25895 23792 12895 158 15693 27657 18983 30828 12970 6459 27769 9997 24450 9749 17309 13448 15556 25092 28637 9167 7296 15952 392 206 3636 22797 14157 1844 8609 15477 28099 17457 8498 30039 759 8058 21434 5595 4523 15118 1066 21797 22160 20389 7951 21796 21328 6783 2870...

First Run Output

21166 1076979789633277900

Second Run Input

2 10000 21166 1076979789633277900
19621 6747 22800 32756 16139 8130 11644 30591 5302 23145 1083 11962 2463 15271 32241 14312 10616 27743 13726 3002 25066 19748 19429 26713 15857 3154 32367 8324 32080 23801 11137 21115 18583 27795 8515 13448 29377 1620 21801 19318 31991 21879 22895 13675 18175 27293 ...

Second Run Output

7216 9881

result:

ok correct

Test #45:

score: 100
Accepted
time: 20ms
memory: 3852kb

First Run Input

1 10000
617 17075 1763 22430 21418 32068 2448 5537 5810 29985 4446 24498 18801 21575 11769 20863 18314 19325 12346 3305 14017 1746 18098 10270 31817 20564 23660 19994 9113 24277 592 13720 31374 24908 26908 30031 21943 11125 31750 32391 15415 9124 6039 25620 10736 29119 11581 1926 12989 1650 32492 14...

First Run Output

25722 5531601058692161241

Second Run Input

2 10000 25722 5531601058692161241
20413 8013 14177 22726 4168 5206 22912 20421 2321 26058 1242 10466 2188 17117 14234 19073 6344 26004 18888 1854 4006 4445 1690 15407 11059 19546 17622 16817 18458 1058 8530 3802 23662 13506 32236 6205 19401 31824 13469 14822 25936 29264 22884 32090 19457 2323 17986 ...

Second Run Output

15184 13909

result:

ok correct

Test #46:

score: 100
Accepted
time: 20ms
memory: 3828kb

First Run Input

1 10000
12090 5394 12588 26445 23281 30807 31830 12433 20775 1391 2906 28983 15849 21179 10415 25786 31069 9992 9747 25706 19332 29603 12653 22830 20343 4706 24515 17715 11133 21401 19025 6459 20445 10570 109 28494 22780 8766 16599 7124 1009 22255 32175 492 32271 22634 13698 22823 23510 19860 3187 1...

First Run Output

29986 15625821164692137885

Second Run Input

2 10000 29986 15625821164692137885
26707 31749 5497 11238 12938 166 7425 49 4647 11031 16869 26484 890 28539 21967 28316 17350 28356 4104 20808 16364 12121 30751 14159 11958 5460 9014 20075 27025 27866 23529 12585 4439 23925 26406 25022 4140 15192 21574 26469 9109 23274 16886 27522 22379 13162 2328 ...

Second Run Output

18921 2159

result:

ok correct

Test #47:

score: 100
Accepted
time: 17ms
memory: 3676kb

First Run Input

1 10000
8149 11771 19595 13944 398 24379 3395 29924 10681 27753 9942 6290 24999 6834 298 11275 31198 330 31605 19842 31850 9150 16234 2211 4034 7126 11736 25771 22596 21213 19845 6790 16481 16265 20554 23365 32275 2018 242 19487 5784 13640 21937 17545 7713 8329 11125 280 15143 29656 25924 8399 15288...

First Run Output

14307 2623130031557746380

Second Run Input

2 10000 14307 2623130031557746380
383 10026 4419 27715 22746 16672 5186 1368 6847 27743 23029 1254 32267 29881 26987 20012 29257 28364 10179 27751 23694 14927 25867 5221 10838 20833 17538 5761 11740 20563 12282 19311 19575 13491 26057 325 24260 7038 12702 1343 19096 2266 5552 161 23312 1807 24940 22...

Second Run Output

19540 7367

result:

ok correct

Test #48:

score: 100
Accepted
time: 16ms
memory: 3792kb

First Run Input

1 10000
4407 24328 28357 26775 31827 3518 5646 8253 3767 12719 20452 17864 30038 30702 12900 30819 19765 29498 22249 8132 15954 24351 32602 17671 10997 21972 20910 27506 28640 27616 7053 32377 21846 17596 22898 16030 20660 2367 7527 30296 13440 12645 1607 12110 13401 11130 15181 21935 15048 20096 97...

First Run Output

17070 7184144735510438507

Second Run Input

2 10000 17070 7184144735510438507
4568 19748 13618 3156 27477 21053 4939 10555 23429 10431 31763 30824 20099 15631 19193 12606 3800 16012 1328 5125 32593 6246 22535 13723 15278 21596 16338 14662 8838 17127 20864 11022 21544 21087 15639 9184 28414 15271 4539 28333 26503 4113 15502 1553 19149 4990 250...

Second Run Output

7306 8439

result:

ok correct

Test #49:

score: 100
Accepted
time: 19ms
memory: 3696kb

First Run Input

1 10000
2399 21293 25945 14259 5919 26095 18473 27071 7412 23420 11911 8044 30870 24057 31315 16037 27427 22294 28880 1401 16534 27528 7070 1506 17200 26332 10890 28908 32689 26631 31487 10424 2823 25432 19521 28412 25605 28697 13555 21671 25540 14069 1868 19176 7776 8504 24867 19348 6115 27714 2026...

First Run Output

31496 6574906393476091821

Second Run Input

2 10000 31496 6574906393476091821
26514 30001 1290 10542 4731 13119 11431 12468 12009 1051 15280 13987 15810 3516 16571 31059 1229 729 7652 21670 2513 12429 14046 5721 5449 26902 8952 10559 14745 24649 17977 27536 7104 31063 19733 16956 21986 3223 20112 21374 13747 2829 6718 258 9642 3012 26081 1742...

Second Run Output

28193 1097

result:

ok correct

Test #50:

score: 100
Accepted
time: 19ms
memory: 3864kb

First Run Input

1 10000
2190 28253 11776 22857 22626 10210 17758 12880 21268 3229 8977 8207 23532 5460 20077 29473 12193 12552 17770 13190 24863 12205 25279 31609 16319 4489 32443 17458 8495 8451 21391 24297 7174 24800 11642 26956 24346 21125 20098 207 29115 7289 12363 29336 11570 12147 24336 28096 11157 3119 24829...

First Run Output

16227 7951588416097896507

Second Run Input

2 10000 16227 7951588416097896507
12540 27582 28317 2967 12601 9988 25840 8340 6393 30917 20031 7374 16193 28842 2011 5657 3393 23634 27553 23137 2353 28021 3183 32194 24429 7536 4974 6860 14918 6645 4688 16260 21866 25606 8400 7768 29361 27847 4709 22276 24306 961 27769 9079 26815 30091 20776 853 5...

Second Run Output

22597 32146

result:

ok correct

Test #51:

score: 100
Accepted
time: 20ms
memory: 3648kb

First Run Input

1 10000
25016 14758 5968 4715 13453 16628 2985 30967 9561 26708 14638 16027 27278 16285 10656 11312 23043 29583 14482 27885 30877 11921 6280 21978 2255 29682 27490 21660 14324 26018 6432 2090 7655 26611 18789 1201 7079 10281 6823 1591 4273 9920 12858 13018 5178 13595 25137 30882 24110 12919 8571 682...

First Run Output

22788 4178417207067442303

Second Run Input

2 10000 22788 4178417207067442303
25918 19678 22904 23575 25001 27619 28607 20742 1031 6772 5728 21360 12287 27584 17762 1711 28197 20276 30384 32141 2920 15259 16088 22323 9003 21986 20098 9952 24236 23086 9951 49 27538 8135 8586 27503 21463 23972 23443 3346 17198 30935 10216 241 25420 21828 22467 ...

Second Run Output

31213 5508

result:

ok correct

Test #52:

score: 100
Accepted
time: 20ms
memory: 3616kb

First Run Input

1 10000
24871 12623 13611 18424 6204 28243 13225 4108 3403 32513 15935 20617 26743 27152 5457 29497 20594 11590 13586 27009 26734 8918 4730 30024 13092 10889 32514 27891 5164 8557 8491 23245 29591 26991 4858 11110 9126 25911 32106 26978 7030 11062 25518 11841 20510 28508 3733 32755 26593 22854 17722...

First Run Output

30796 9265827931761868139

Second Run Input

2 10000 30796 9265827931761868139
6477 22741 4488 14817 14157 10330 24020 12170 3633 3156 3029 18185 1259 22907 10122 2367 8450 19231 4545 7927 19144 27239 16312 31531 8891 22533 24664 4671 29723 32511 31957 29556 30331 4132 8127 15288 26708 1411 17742 30877 23884 32557 30786 26365 16900 30885 21168...

Second Run Output

19163 8024

result:

ok correct

Test #53:

score: 100
Accepted
time: 20ms
memory: 3688kb

First Run Input

1 10000
18914 17378 4154 6620 29676 14260 31119 23310 9786 13189 2790 25044 9216 14216 8620 4276 31599 611 5443 26955 24233 1582 21450 18954 20439 23830 4570 25398 21786 28803 2101 29618 32202 10700 28350 23469 10395 20758 1406 30274 18426 11796 6636 8848 2230 32317 13566 13079 18900 4488 16670 1228...

First Run Output

31392 1803456492220863719

Second Run Input

2 10000 31392 1803456492220863719
4060 12636 4233 6438 15985 5704 18028 19023 9974 28705 3335 19981 30899 8980 10142 15485 427 30355 6715 1677 13136 13138 19122 11961 16349 28750 27206 23856 11718 22409 6475 12478 21971 20614 18041 3475 26857 23406 4604 22924 8579 5174 19423 7596 19583 13675 26231 3...

Second Run Output

31690 9020

result:

ok correct

Test #54:

score: 100
Accepted
time: 20ms
memory: 3832kb

First Run Input

1 10000
22592 6538 23421 31160 3629 18468 17751 25377 16837 11065 5174 26701 1383 31047 22913 27047 12389 19669 12057 4889 23144 13349 13275 27812 24194 8836 16269 10627 27857 14793 10609 6190 31931 18431 29435 5994 24291 6220 6919 12528 32701 18871 27316 15781 12702 21464 13085 12540 8906 10070 194...

First Run Output

1521 9168063910364933064

Second Run Input

2 10000 1521 9168063910364933064
6358 5217 17354 14183 1584 26594 10315 11345 14112 9701 19039 3694 25827 32335 7479 19389 29011 24852 30005 9091 7141 10852 17320 14772 11320 11667 5419 7951 9969 22937 5864 16113 11357 7679 18774 18636 29246 9503 16176 26258 5871 10917 20995 1695 9002 22146 18849 31...

Second Run Output

3186 11600

result:

ok correct

Test #55:

score: 100
Accepted
time: 20ms
memory: 3700kb

First Run Input

1 10000
29244 5100 18062 20788 23376 10126 10875 12723 1537 30560 24078 5906 10780 8136 24849 10668 17693 31341 14256 19256 2962 21477 31405 22728 23688 18178 9920 219 1016 8175 27317 12759 31699 31734 22729 23923 29907 29445 3256 30182 28115 17972 1191 6084 9035 3068 14839 3172 27596 6028 3548 1204...

First Run Output

19701 18079041983528254588

Second Run Input

2 10000 19701 18079041983528254588
21006 27454 6123 11354 12559 17635 21346 10894 13617 31121 15784 17110 2354 606 29087 29105 12539 31510 25789 20132 23768 19298 3204 20364 13286 10689 7736 2831 20601 21248 3961 14724 21746 2742 511 16688 27911 5170 1923 13325 10517 2348 12063 22671 1203 1234 23467...

Second Run Output

1305 8765

result:

ok correct

Test #56:

score: 100
Accepted
time: 19ms
memory: 3868kb

First Run Input

1 10000
20168 3456 15240 18836 6700 582 31779 4957 6805 3408 19711 3962 3010 22241 32459 19272 5166 13004 22034 16263 1651 23224 5339 18293 5595 2018 17916 20167 12629 24109 29323 9163 22365 18778 7389 19658 26512 2298 23540 167 2641 5121 12104 23726 3794 17491 23898 17541 28341 22946 352 11445 1087...

First Run Output

26762 16805243668261022089

Second Run Input

2 10000 26762 16805243668261022089
11502 16154 1738 18027 29892 2708 26498 30956 8012 20265 22825 16880 20528 9852 797 21306 2953 22192 6819 10854 22242 8976 25986 12126 3018 7493 19912 19965 31124 20337 13117 32390 626 25531 10697 26617 10804 19215 6215 18430 8743 11685 20869 184 6912 7533 31432 32...

Second Run Output

1039 10171

result:

ok correct

Test #57:

score: 100
Accepted
time: 20ms
memory: 3832kb

First Run Input

1 10000
23096 5629 23337 4112 11050 7883 22504 3627 16598 24726 27706 7031 8086 3874 7286 28547 15099 18022 26075 10434 14334 18705 15577 13608 23766 24386 18623 10009 654 29178 31061 1756 12584 27083 12670 3818 11022 19840 14072 28564 4388 32160 18752 6614 27281 10618 11627 16579 11919 28397 30747 ...

First Run Output

1854 11783275811358724820

Second Run Input

2 10000 1854 11783275811358724820
6639 13323 27594 16454 3867 28703 32381 24340 18838 24370 14609 27820 6091 200 21612 28594 7604 24957 26776 25847 2625 28533 11770 2359 30380 21207 9889 20561 22070 28729 16336 24371 20806 2214 11548 5386 21347 28719 5909 8205 23734 20644 30020 31089 4562 21924 2381...

Second Run Output

9152 15955

result:

ok correct

Test #58:

score: 100
Accepted
time: 20ms
memory: 3864kb

First Run Input

1 10000
10281 5247 1470 18885 10458 13272 27689 12333 20450 15779 25541 12461 7840 17796 9509 17959 26088 23444 11279 23679 8060 25587 26069 11530 10301 26681 14682 17476 295 3310 27733 14030 15677 25552 28679 30377 31485 19163 20437 30909 6269 28161 15824 19196 21080 2548 19780 2195 27256 15 19258 ...

First Run Output

28110 2419375432920301199

Second Run Input

2 10000 28110 2419375432920301199
3001 9512 20771 27067 20539 2626 483 12759 15942 7619 4375 2153 18162 18336 3731 6709 7733 1620 29447 4440 29692 22172 11703 30209 23950 22965 17478 18426 5090 21743 27349 27281 20679 26711 22379 637 1264 9057 31860 18328 28563 8126 12704 17239 2903 383 15841 23452 ...

Second Run Output

17262 5777

result:

ok correct

Test #59:

score: 100
Accepted
time: 20ms
memory: 3832kb

First Run Input

1 10000
103 29715 14159 30300 10553 18655 25860 18626 28706 8896 31107 11614 10436 31151 27971 14997 29236 25145 13575 17711 6845 882 9112 10366 3220 30526 26391 4476 15762 11523 20882 32174 14513 13482 29569 9406 32537 25671 22545 16997 24867 30843 30252 31595 5249 3789 20094 846 22442 933 30180 95...

First Run Output

30084 58675593065804608

Second Run Input

2 10000 30084 58675593065804608
6421 8055 19680 13722 6461 27162 14931 8898 14544 29180 25887 28115 10872 16720 16661 26917 12818 11847 23495 1437 16297 24542 27307 3790 9601 31873 17174 23323 10615 1548 28311 910 610 27743 11920 7021 18756 31219 12029 12576 22172 28146 10647 8983 12404 14592 23620 ...

Second Run Output

22299 12867

result:

ok correct

Test #60:

score: 100
Accepted
time: 20ms
memory: 3696kb

First Run Input

1 10000
11678 28179 11461 10391 9411 1552 19163 14423 32380 8842 6698 31037 18874 27822 9248 31760 878 15380 13881 32232 20314 1751 32082 21142 28375 10398 26650 32030 766 26743 10854 3931 14804 17629 28771 7478 2128 30444 25444 23158 23086 4202 5744 22057 23611 24550 29186 17830 20226 23194 7713 48...

First Run Output

8983 106448670530093587

Second Run Input

2 10000 8983 106448670530093587
9522 25284 5677 31292 4894 16158 18820 32078 6843 28480 19144 15606 481 20284 7590 1084 6308 17019 81 17937 24947 3310 9692 21928 9050 6796 7629 9707 5846 14407 17784 2397 23688 12778 20499 1629 23609 16761 496 25043 7471 24683 16548 19073 18719 19301 32361 7323 28826...

Second Run Output

31227 7894

result:

ok correct

Test #61:

score: 100
Accepted
time: 20ms
memory: 3684kb

First Run Input

1 10000
23499 30789 27599 11455 21469 21082 5096 23188 26503 27517 12403 14046 6574 11582 3671 2302 11589 28081 9582 29516 19969 21831 22293 25491 15173 20536 15814 16506 26490 4320 8302 31300 2556 2833 20088 13391 1212 20661 22171 28682 32204 6890 32226 21500 24009 7601 25287 19229 12874 32501 1657...

First Run Output

17552 13304268382965271007

Second Run Input

2 10000 17552 13304268382965271007
25348 11441 16207 17200 9146 7661 2334 11983 861 859 118 6953 3187 709 23737 31350 31350 15578 1384 32702 23764 6820 741 1464 22817 14147 24366 23208 26462 6742 13906 19668 26862 21971 21715 12067 4517 8600 13375 12482 666 13736 20666 1271 8452 8916 5207 29951 2311...

Second Run Output

23908 26826

result:

ok correct

Test #62:

score: 100
Accepted
time: 20ms
memory: 3700kb

First Run Input

1 10000
9711 22103 24907 5741 3522 29013 19792 25230 374 19815 19534 8655 1149 29669 23118 12921 7526 31749 26780 7011 15187 8488 9331 31546 23885 4108 31872 26354 12438 17723 17753 4912 1457 13702 160 25184 2663 11729 10706 27017 6169 31406 16652 18097 23517 25675 8903 5489 31718 11475 1587 8322 33...

First Run Output

25358 8204150652235865355

Second Run Input

2 10000 25358 8204150652235865355
5082 30200 9644 13106 26993 1687 29544 9925 28055 6162 10205 24689 28266 10358 12956 24759 9848 14073 10301 13061 3170 12357 17593 29151 21516 31451 4322 27707 23894 25004 140 12251 30239 7446 21278 46 25353 10788 6187 9623 4977 1378 20182 26553 19311 482 29868 1119...

Second Run Output

24831 2867

result:

ok correct

Test #63:

score: 100
Accepted
time: 20ms
memory: 3832kb

First Run Input

1 10000
10070 21820 17776 18128 10095 13485 815 32307 8953 421 5136 30061 8880 11732 17527 9912 26527 28803 1003 25749 11736 30001 16371 26519 25440 25289 552 19475 17628 4306 21783 3827 24965 1699 26667 15477 31008 28066 8104 30712 1996 9289 10560 13526 28223 16866 15536 23163 17137 19191 30697 330...

First Run Output

1077 3531578621843217393

Second Run Input

2 10000 1077 3531578621843217393
12199 22735 20011 16869 16326 9689 20476 20103 16198 16062 9696 19079 699 1854 2986 18604 11257 23159 17518 32592 30713 22672 4557 31754 30505 9424 19113 8746 23670 13613 2801 17596 24158 23823 16559 13660 26984 11661 19264 3039 31469 26294 3347 14383 27076 13869 296...

Second Run Output

31644 7718

result:

ok correct

Test #64:

score: 100
Accepted
time: 20ms
memory: 3676kb

First Run Input

1 10000
2644 31158 30443 16317 24904 9297 8060 3415 26049 28207 4307 15932 3354 22261 4809 8165 1922 32398 28850 17285 7970 9044 11600 3441 19434 20665 16520 26874 8179 24857 22157 27827 12485 32001 17799 16073 23275 17618 10805 9237 26781 10543 30305 27016 25347 22117 20885 29704 31247 20040 3077 7...

First Run Output

24024 13454494095202917684

Second Run Input

2 10000 24024 13454494095202917684
8756 29400 2824 13824 27494 886 10118 27423 24508 30935 19313 6221 12808 5301 32738 16168 31254 24909 6600 1977 21451 22593 12848 29269 27173 15571 6039 20325 28213 31380 12199 346 26368 26841 27687 13589 24938 17816 26084 25042 25548 24220 25067 20452 25618 28998 ...

Second Run Output

7878 7036

result:

ok correct

Test #65:

score: 100
Accepted
time: 20ms
memory: 3664kb

First Run Input

1 10000
489 17669 7781 14258 13747 13303 16977 23358 17361 26124 22349 31140 5842 31492 18385 28868 27669 22857 27647 11040 5155 21381 23255 3165 28383 7326 27346 24233 25341 3842 10063 1026 12426 3019 11466 1372 18300 23768 27201 9398 5257 12040 6979 22482 5583 4941 14784 23688 23032 26208 6496 548...

First Run Output

14007 17663355059588241214

Second Run Input

2 10000 14007 17663355059588241214
11790 17102 21804 20749 31134 232 24541 25273 5906 10890 23455 19805 30851 17128 25623 28965 21153 8368 22198 25224 32179 5243 2961 10102 31361 12579 15766 30084 910 26547 20879 20712 16658 28804 484 8213 4635 12191 31004 27723 2297 21640 30462 30289 31673 12480 62...

Second Run Output

25444 12090

result:

ok correct

Test #66:

score: 100
Accepted
time: 20ms
memory: 3604kb

First Run Input

1 10000
60226 39246 56446 50771 63961 54990 53309 41741 50205 50433 19104 51813 47370 19158 56118 32873 19784 34888 40976 9209 6618 30548 50167 20597 12570 28219 36935 39085 32486 40637 64534 21404 37832 37928 8910 42492 38448 37981 52886 28914 18366 25728 17546 5618 42700 16745 7666 13565 50102 331...

First Run Output

12370 4250473669327961929

Second Run Input

2 10000 12370 4250473669327961929
31545 48813 16096 59625 28075 33443 37970 3761 21852 38504 51214 23751 23276 26328 56676 64589 22138 34430 41860 3537 51262 10538 31592 49820 4917 18678 20600 819 2638 1810 62896 50397 36912 47319 50303 16752 27072 44881 5408 53658 45851 63687 25837 8360 33539 17722...

Second Run Output

37047 30413

result:

ok correct

Test #67:

score: 100
Accepted
time: 20ms
memory: 3672kb

First Run Input

1 10000
44966 43685 37807 23689 63543 41390 53496 7043 22478 2455 29754 49688 20214 55000 48839 45477 2127 57985 26046 16963 17596 42656 8535 43647 35761 24456 44874 61963 42609 38194 16174 3370 61313 35524 5157 8833 60212 5272 13202 40197 27491 44624 57268 61363 20811 88 50928 3933 42503 59540 3301...

First Run Output

38566 11820998563402035205

Second Run Input

2 10000 38566 11820998563402035205
52390 41841 3369 57317 35415 31650 26439 42932 11350 28723 15173 11098 5061 50999 36761 17056 63960 42333 23053 46441 1970 60230 44276 52049 584 2504 37240 23875 60542 9694 20080 13970 57433 15060 57719 43894 11707 4643 62039 23711 28389 7276 64805 39886 47662 5859...

Second Run Output

62863 9501

result:

ok correct

Test #68:

score: 100
Accepted
time: 20ms
memory: 3896kb

First Run Input

1 10000
198 16093 20915 43960 25489 46190 55135 54961 36046 30143 7522 16713 30149 48005 35693 51375 4099 50997 63486 15473 35512 20687 62825 49677 59665 46216 30447 52079 46363 26573 65264 15950 63699 51996 2209 8932 39316 19247 64006 63701 29076 42868 10494 26102 14204 11500 29825 64645 19126 5751...

First Run Output

27392 3710479306625639929

Second Run Input

2 10000 27392 3710479306625639929
45475 53774 40932 13145 34805 16750 27549 54632 8516 61536 1656 35016 49623 60945 42788 40169 62959 31899 7485 51415 28612 57512 11992 15252 27846 65190 52135 63864 30203 53879 5127 33961 36112 57303 51309 19186 37817 37247 34438 36196 30474 34835 47178 17986 19071 ...

Second Run Output

2501 14968

result:

ok correct

Test #69:

score: 100
Accepted
time: 19ms
memory: 3872kb

First Run Input

1 10000
3476 27947 55847 21004 34647 60248 22921 49110 49857 31333 61327 19034 36238 49554 1942 49197 1298 58557 25025 23771 1649 65327 10842 7903 5904 26227 19274 59743 33469 47011 3937 43782 16425 34588 62687 8494 17871 54946 49632 23179 14742 50474 14735 16842 17512 63926 12887 61737 1936 43348 4...

First Run Output

37250 8287454680986223688

Second Run Input

2 10000 37250 8287454680986223688
1427 25180 44383 37799 4817 22263 58898 53867 41310 64751 12002 32455 64347 22092 43132 38161 16987 63710 35001 45498 36222 61273 12467 46165 9064 65255 15126 23557 60039 51421 19165 33478 45442 23056 58139 41840 58118 10889 5160 47978 51468 29678 57119 19037 29702 ...

Second Run Output

61698 38485

result:

ok correct

Test #70:

score: 100
Accepted
time: 20ms
memory: 3876kb

First Run Input

1 10000
23501 44327 4773 340 65099 6849 46772 13567 432 47186 15428 15694 566 6256 49834 43199 23198 9949 61256 10769 31553 12403 49910 60045 246 46520 39336 54515 48679 14427 10434 32591 8712 1062 5472 55143 22054 61805 633 60 818 58076 58229 507 18372 6548 48478 5378 22728 10040 54897 31928 34912 ...

First Run Output

63118 10742588533531253867

Second Run Input

2 10000 63118 10742588533531253867
44502 17769 13942 3375 61206 36485 11566 48055 29115 35338 5227 45513 22347 27913 1900 39531 1551 10233 36835 32820 60275 62171 42599 42389 5288 60578 15707 61499 35580 47847 7328 6670 8761 52958 35672 52113 9995 6394 6417 22320 56450 51346 10322 1359 45375 63206 2...

Second Run Output

59488 3723

result:

ok correct

Test #71:

score: 100
Accepted
time: 19ms
memory: 3564kb

First Run Input

1 10000
23976 6018 30894 13553 8775 35258 57555 26839 5962 4909 22685 1342 7124 45169 63356 6833 36831 50164 42471 65484 12901 19430 21584 28575 15291 7906 48957 22471 280 2666 38106 19875 1351 15721 62375 23266 58995 58089 21335 20932 40105 57422 62538 30157 8662 53215 27036 32160 37020 53955 33613...

First Run Output

6023 10982833411274540186

Second Run Input

2 10000 6023 10982833411274540186
14949 17068 7174 63519 55483 45775 39192 50429 48833 58722 56240 8292 30235 51386 8063 38238 19497 527 9598 16966 61169 19284 5067 62519 45383 47326 11559 56298 62537 57453 10779 42345 29611 3504 23874 47772 44822 50657 53451 18502 27575 18740 33964 7367 12219 15313...

Second Run Output

54466 7572

result:

ok correct

Test #72:

score: 100
Accepted
time: 19ms
memory: 3692kb

First Run Input

1 10000
47657 51777 56500 24875 17065 17353 41420 51830 28179 15284 12555 33552 22647 40115 2758 31254 28128 136 18225 33700 37772 25411 50252 42353 62387 59446 28231 45487 39925 27014 58518 47094 44967 11144 30594 14807 19958 27070 15832 39758 40000 14549 29854 32360 2264 22757 47913 12504 9400 880...

First Run Output

52442 4096213267649249464

Second Run Input

2 10000 52442 4096213267649249464
11994 19770 8328 31246 5247 17691 41196 20880 32145 7740 10334 23296 12551 48518 11936 2129 33177 25170 43444 53793 28746 48211 52802 21599 37405 54590 9768 51371 37624 56140 12733 45041 48678 53750 46512 52476 35656 31104 11055 58553 36358 58354 18306 54419 35152 2...

Second Run Output

42173 28940

result:

ok correct

Test #73:

score: 100
Accepted
time: 19ms
memory: 3672kb

First Run Input

1 10000
55375 4084 44259 52850 13648 33263 58785 14197 31213 52250 45476 50918 12949 30642 29347 39779 18781 52935 1390 14867 57962 61479 11031 54820 48887 43965 25373 38699 37116 55676 35350 55680 554 50127 18199 61359 21640 37059 54449 24035 10899 12202 59289 58412 52499 24241 53710 28310 65338 50...

First Run Output

59485 5200412180679460559

Second Run Input

2 10000 59485 5200412180679460559
61891 11158 25270 64116 60001 55560 50351 55693 4241 41273 46519 6382 41549 30272 52459 49481 34942 51790 42435 5272 47411 40559 49312 50315 9042 2865 29751 35368 56624 29689 3769 59487 47664 28032 14884 41126 31003 35144 22027 29599 54549 49593 19346 24359 4196 416...

Second Run Output

22295 1858

result:

ok correct

Test #74:

score: 100
Accepted
time: 26ms
memory: 3872kb

First Run Input

1 10000
36848 49070 7328 29161 28472 42216 8738 10136 49593 3734 28502 11858 10975 60703 53872 22721 57622 26501 51291 23664 49601 52668 62561 43176 35140 6321 9604 22801 6097 16479 3745 41198 24857 24502 33375 60815 7049 1541 44571 46799 21432 11710 27468 10441 51686 9427 60507 33406 13286 30725 22...

First Run Output

12420 5290276071561204386

Second Run Input

2 10000 12420 5290276071561204386
15428 57288 58040 38366 61657 60147 12507 42771 4785 48938 14874 55620 56360 41298 39368 27699 511 56492 46632 50167 48390 1748 37257 32196 58388 64602 28484 61139 3934 31097 20712 4299 47206 62029 25129 61430 4709 38392 52335 41047 12138 315 57906 4355 24993 58732 ...

Second Run Output

47498 46477

result:

ok correct

Test #75:

score: 100
Accepted
time: 20ms
memory: 3664kb

First Run Input

1 10000
20143 56551 8176 54343 34703 36256 25445 4597 504 50677 64831 36927 14882 56581 13734 60816 49811 64427 15602 4600 44608 19064 27924 33151 23106 37638 7708 14744 13981 11523 18450 24670 44742 31567 21702 54344 58347 24659 54652 20638 13584 11852 17894 10336 36686 18861 8691 34976 38798 48792...

First Run Output

59742 16379003252814584720

Second Run Input

2 10000 59742 16379003252814584720
47110 166 1310 30973 17510 8006 58803 19807 18511 37939 11280 60387 56826 32143 42609 5072 51959 20674 41566 50866 28912 6153 33259 16388 7754 29398 58780 39665 35122 22578 21588 1284 53762 48430 11778 48745 19167 55114 62906 57320 3015 28940 10078 10277 17715 4120...

Second Run Output

50651 14823

result:

ok correct

Test #76:

score: 100
Accepted
time: 20ms
memory: 3896kb

First Run Input

1 10000
62939 52295 34171 23025 27753 46562 61114 31048 20230 64568 1867 36828 48980 64151 64665 27039 760 13809 57622 16110 60723 38489 45276 6079 8367 33402 5216 1336 18049 271 31584 64178 4768 64010 57674 60228 57841 38165 12259 3324 54964 50773 50840 64798 36117 23316 24106 52449 34370 42377 397...

First Run Output

47905 12882056043766361922

Second Run Input

2 10000 47905 12882056043766361922
62869 43136 6897 45296 45492 971 12508 42770 46342 62050 8826 33664 49188 64466 17249 49495 35004 59239 42921 50304 13191 27868 5550 61281 27753 43151 23842 58284 16960 12001 52648 1877 8479 58625 60379 4379 50190 37727 24972 4084 39067 5558 41462 46049 20055 2270 ...

Second Run Output

63735 27621

result:

ok correct

Test #77:

score: 100
Accepted
time: 21ms
memory: 3640kb

First Run Input

1 10000
51651 3499 39743 47079 11637 13711 3907 7509 25633 16025 23 56333 13628 39313 19007 62517 10958 9796 55723 53707 63721 14605 41371 41112 51697 10640 53215 34932 22440 36595 31134 5739 38244 23471 42509 6085 35551 48196 35724 63470 38245 24583 39742 36766 17753 64170 9843 23538 6807 20946 132...

First Run Output

33368 2937600363595101708

Second Run Input

2 10000 33368 2937600363595101708
4217 27543 12215 2734 18942 42988 5420 47412 58029 7642 50919 54184 64682 46533 38472 41284 39780 17185 20175 4932 53364 29759 23946 53675 65020 8798 61844 42258 8366 387 46273 50837 49639 50111 52604 21784 7990 43204 19981 20655 33853 8683 19065 9348 62487 1226 125...

Second Run Output

35522 18378

result:

ok correct

Test #78:

score: 100
Accepted
time: 20ms
memory: 3640kb

First Run Input

1 10000
43287 46504 19669 10799 52302 43738 58723 47506 6525 55672 64715 3811 38728 49559 257 44383 35903 45685 5943 49403 25359 52971 47844 11883 5625 30936 122 2850 14659 43119 50950 10868 12614 13950 36069 44066 55946 47305 33029 596 13690 38645 51030 53749 9581 27534 61984 6299 7034 19289 49049 ...

First Run Output

61581 15500986436641814438

Second Run Input

2 10000 61581 15500986436641814438
33419 7644 6410 63838 81 17366 50204 24278 36271 24760 25040 45851 59367 3921 18621 3181 49396 53332 3575 48200 11032 38024 36746 40203 5672 1865 41074 28185 58264 28475 62855 7374 49345 2029 62872 11736 10122 41292 24168 51742 2616 38503 36865 500 38122 54899 1810...

Second Run Output

23623 28210

result:

ok correct

Test #79:

score: 100
Accepted
time: 20ms
memory: 3860kb

First Run Input

1 10000
8961 17994 61726 61110 3216 31541 3538 6570 62958 36 31294 41069 49861 7413 9058 56267 959 34098 11059 29571 10683 1504 9505 19996 43194 36097 50229 46231 28883 20685 55888 43013 48193 23486 33692 44788 5061 4908 4210 65237 31337 46085 44233 20097 977 54530 29963 20625 44644 8913 21456 15688...

First Run Output

37463 592035260113191912

Second Run Input

2 10000 37463 592035260113191912
64629 48381 38177 814 60073 24009 42249 59899 22430 32567 8337 22422 19476 28764 1394 20116 30666 26473 55192 36 38379 56298 22156 58196 60072 22342 59968 61114 57654 8283 17156 62971 8459 31373 41605 50393 1724 15777 21295 12899 36351 11506 24377 44995 18259 40508 4...

Second Run Output

48698 2069

result:

ok correct

Test #80:

score: 100
Accepted
time: 21ms
memory: 3664kb

First Run Input

1 10000
55578 54955 58679 64425 24736 52549 14825 44823 54477 41962 20635 24338 13441 47 34570 47242 41874 14821 54024 37750 44655 4053 58614 65094 50084 11294 31794 41170 305 56790 61220 31168 39641 4852 52628 27658 59770 41950 58425 28134 27781 41040 53632 22486 8359 50015 64886 23655 41758 62391 ...

First Run Output

45034 16022684510505860479

Second Run Input

2 10000 45034 16022684510505860479
14000 22737 45196 22271 53328 43572 45214 8833 38792 46455 3746 49871 20347 38136 18187 15341 2129 19454 46598 23406 4951 25291 31960 55373 53765 40349 17669 21231 39397 44446 2737 21694 10604 57896 43803 18112 23570 14468 5804 41682 20065 25013 41889 5942 22820 77...

Second Run Output

61879 18300

result:

ok correct

Test #81:

score: 100
Accepted
time: 20ms
memory: 3668kb

First Run Input

1 10000
34306 54520 65294 40819 38744 15713 32749 32736 7416 30298 35064 42996 4374 50254 64251 48003 31416 37808 44624 31544 9592 13076 56101 24307 16359 58772 50396 5055 61195 46061 46710 49192 13625 44633 28080 15739 45140 37280 46052 35470 34981 37117 43780 7099 38537 22152 9493 45761 2279 51696...

First Run Output

21035 15047883536265961918

Second Run Input

2 10000 21035 15047883536265961918
37206 4063 57953 51965 2693 14472 64649 6711 50503 38604 63659 52025 16420 13641 62723 17874 30367 63299 47941 46579 6633 47862 13904 63747 39026 38841 48965 3550 13936 13876 37066 34538 61791 1694 22239 56895 60663 54928 35631 61200 2716 15575 40148 35244 52097 35...

Second Run Output

39206 13946

result:

ok correct

Test #82:

score: 100
Accepted
time: 20ms
memory: 3700kb

First Run Input

1 10000
47506 30024 59420 14106 17889 34087 29285 35120 5116 10802 14686 10355 63106 62259 25668 1808 32620 50836 38068 47443 12184 59997 38237 32611 26703 57601 2548 61005 46076 26061 44332 32726 50512 36808 47514 61714 17123 54593 29057 14499 48220 52474 57121 46254 44725 36922 21907 18798 38999 4...

First Run Output

47245 8307987211271577813

Second Run Input

2 10000 47245 8307987211271577813
65428 22208 63591 404 1979 62372 10103 7847 45092 31985 54091 14160 4214 55263 13987 30636 17709 34266 50448 10032 57109 28525 23525 24798 12574 32089 48251 4378 43676 34921 36723 28660 64629 38824 39124 5312 58023 8375 50549 46886 51103 41398 51981 43295 20941 5707...

Second Run Output

55447 6968

result:

ok correct

Test #83:

score: 100
Accepted
time: 19ms
memory: 3692kb

First Run Input

1 10000
63817 54882 45027 63057 51142 16311 61712 12941 62193 36257 626 36151 44811 21254 60513 6086 22696 7825 21184 45344 41752 14371 31030 41563 56426 24205 6491 41519 34776 53792 37798 41913 33077 36932 62694 54040 21909 39590 20965 54394 483 44475 17548 56569 15170 9338 58433 53067 44874 6228 4...

First Run Output

15267 8867756431030147142

Second Run Input

2 10000 15267 8867756431030147142
21703 26692 11145 42122 61158 12205 17810 47358 37893 64883 4724 12548 49208 54589 4322 20040 315 17928 12343 9199 21800 9609 44265 40524 14090 48592 40897 30783 12944 20682 14183 12397 26600 2826 26448 47895 3917 144 25092 52179 4749 32059 16116 18251 34104 60844 6...

Second Run Output

22344 5012

result:

ok correct

Test #84:

score: 100
Accepted
time: 20ms
memory: 3624kb

First Run Input

1 10000
9193 47304 44871 64431 3249 46064 53447 13524 10446 54641 63390 30447 13582 47948 11581 52106 24577 38561 58985 26965 64175 51352 53663 46747 57621 33049 7867 19806 57167 35579 46356 16934 21849 45165 48050 12894 46246 39399 7586 62886 42619 60055 53604 40747 50860 15248 64939 32824 32786 13...

First Run Output

58727 2610691338635503480

Second Run Input

2 10000 58727 2610691338635503480
43554 12518 31261 10452 60053 9877 58999 29068 59174 45537 43912 26650 48357 30273 20320 38625 42855 34403 23256 52906 44368 50626 4832 18789 9184 60364 57966 15852 9849 36747 3298 21808 18565 60951 52323 29245 2375 62189 56786 25560 1082 65257 62982 55578 53693 504...

Second Run Output

207 15211

result:

ok correct

Test #85:

score: 100
Accepted
time: 20ms
memory: 3676kb

First Run Input

1 10000
51734 15137 48078 52834 5782 48672 27974 28190 47651 22112 41551 35017 20346 16802 62587 57263 39842 4902 26591 23952 37358 58977 55642 50973 51980 31425 900 4306 18479 11632 55243 49420 49089 52351 15860 30221 58372 29759 32334 56141 45551 16377 57660 24865 16704 54254 32265 22370 31166 510...

First Run Output

39249 4011441120831700058

Second Run Input

2 10000 39249 4011441120831700058
52249 51685 31448 21613 30505 62887 37911 57942 15567 34250 52883 43351 44105 9337 15799 27181 41848 25914 44386 51673 63959 7278 11593 45435 813 64599 50743 16334 23592 62655 6433 19897 39689 22979 60865 61171 40217 10544 62396 6315 32534 64371 59726 58430 38468 63...

Second Run Output

57773 12650

result:

ok correct

Test #86:

score: 100
Accepted
time: 20ms
memory: 3612kb

First Run Input

1 10000
34254 51567 36065 45123 48627 50527 64049 31621 2205 56468 17686 7600 6849 19869 52670 46045 42920 65167 4660 1004 59000 47191 14560 28770 28970 46748 6960 59187 55262 10888 10068 16164 1418 51396 60069 63842 24125 23938 36126 57784 59661 52240 44060 34676 55760 6787 30409 57810 23422 26299 ...

First Run Output

32825 16369091724943242578

Second Run Input

2 10000 32825 16369091724943242578
60132 60896 31593 54755 52051 13079 29692 64957 3878 21904 16044 14500 27682 29061 11462 29601 19949 4487 28564 45933 52586 16202 27339 58420 61435 13976 50352 11619 64922 39165 4679 9860 64852 19171 17534 49218 30587 60951 6935 54751 29794 14859 7186 60513 41236 1...

Second Run Output

49123 32453

result:

ok correct

Test #87:

score: 100
Accepted
time: 20ms
memory: 3692kb

First Run Input

1 10000
39880 9534 35453 62136 10089 19532 10230 49793 57795 60190 37207 56327 7526 7590 48378 56853 46679 41136 33517 28009 51286 39071 5695 18995 31713 49396 981 47246 14618 57937 6865 29808 22041 44597 61068 35966 26022 34428 31488 10884 55288 22759 5808 16415 20870 59904 17410 51174 43923 53725 ...

First Run Output

33519 15685497155005963139

Second Run Input

2 10000 33519 15685497155005963139
5784 25088 46157 56939 22386 28298 10048 22786 21254 52134 19352 38400 11110 64910 61507 57739 55444 6836 22410 32318 46702 61888 20843 33928 32557 20202 10986 17834 54012 7715 46217 15811 60379 9329 39714 4271 17781 46163 32941 24367 62336 49649 51961 58088 53421 ...

Second Run Output

36339 11992

result:

ok correct

Test #88:

score: 100
Accepted
time: 20ms
memory: 3680kb

First Run Input

1 10000
30760 57524 26064 15699 45590 8310 19245 12162 19715 65338 1641 25201 49261 57432 24484 3673 16547 37679 52054 48252 56479 21530 23998 22086 19593 49327 39599 46616 9025 36427 42331 15430 59851 59616 45278 19903 42383 30875 58763 45434 5063 33995 13531 8841 10491 21114 35901 26222 64280 4263...

First Run Output

14284 12368483064658114939

Second Run Input

2 10000 14284 12368483064658114939
57863 34523 5177 44538 2465 7268 40680 37065 1686 43182 9901 60775 31405 62674 60297 8384 13194 56301 44490 22499 8384 63489 63302 19002 58080 48379 60083 55204 54567 19958 41079 8927 15094 11796 14158 36264 63383 34330 42914 44847 60262 3503 41444 64701 43868 4320...

Second Run Output

19699 1617

result:

ok correct

Test #89:

score: 100
Accepted
time: 20ms
memory: 3864kb

First Run Input

1 10000
37515 26193 6922 60596 60945 49158 39918 14245 52034 22458 35685 549 42757 62542 32628 50491 62115 56117 44880 44920 38128 12238 5756 41244 45942 47218 31747 4901 29947 62419 46405 8131 4432 15782 13824 55894 8934 19941 14054 1695 38133 63732 41117 55414 4755 45898 50068 17677 48477 36681 48...

First Run Output

59064 15828065477327704357

Second Run Input

2 10000 59064 15828065477327704357
64888 16182 59121 19923 54114 27273 10033 28217 40036 17858 24785 10941 50620 30834 4642 42016 30330 7023 36550 61019 38889 49272 15919 55866 12150 35927 36716 43168 1407 10508 54453 7342 60204 35848 3493 8675 23753 25060 33504 41372 65527 56691 21028 23205 52166 3...

Second Run Output

65452 20987

result:

ok correct

Test #90:

score: 100
Accepted
time: 19ms
memory: 3864kb

First Run Input

1 10000
61334 18947 20278 344 46546 55516 10940 6110 18800 49318 5048 23901 58826 49628 52247 5840 46862 23887 52282 52724 4148 26244 3355 52573 20880 58534 30519 26132 62843 45255 5293 35565 61817 35447 63406 63982 15450 6725 13035 18451 26764 27551 652 4924 20599 1550 7415 22601 43565 51026 60875 ...

First Run Output

58575 13883518686066627923

Second Run Input

2 10000 58575 13883518686066627923
48314 45014 29760 48192 24759 3463 7128 32519 21490 49134 24407 35295 23408 61545 44641 42714 7795 51635 1778 3057 40375 9246 8938 10973 22669 34501 60250 30350 42246 9473 62100 44316 24121 50626 50420 35801 3036 9560 3647 33395 1811 1108 32613 29715 7069 57995 501...

Second Run Output

47168 29779

result:

ok correct

Test #91:

score: 100
Accepted
time: 20ms
memory: 3836kb

First Run Input

1 10000
6138 28857 43334 25620 61151 60404 25884 33505 9090 49332 51575 48359 60263 2181 12468 61083 26367 45786 52010 54225 16328 49724 20640 56073 59565 17050 55103 16041 28836 18974 65418 43041 65496 38621 25523 41162 56170 26244 7844 22243 44188 25814 53743 55781 41711 43416 28728 53802 39399 34...

First Run Output

49185 250635574795425917

Second Run Input

2 10000 49185 250635574795425917
60139 8079 11055 57755 15797 3859 4134 25035 18708 15288 37179 64102 52307 46712 1877 48827 14041 16296 47899 40753 2286 34102 4842 56805 31181 23988 54949 32607 2814 46770 13567 57878 3243 39547 57044 6403 11374 56313 13080 20402 5366 7355 29437 16751 15088 7844 282...

Second Run Output

19220 19119

result:

ok correct

Test #92:

score: 100
Accepted
time: 20ms
memory: 3896kb

First Run Input

1 10000
15277 27167 17972 9367 28749 1255 48181 50785 13816 11646 45140 1954 61490 56968 12711 1584 22370 7198 41469 28000 8405 13995 27039 62120 52731 40028 64729 14720 37686 13236 11408 1601 50362 41356 35173 49994 59493 15949 35605 56505 48711 52025 65255 11007 65404 30909 21441 20060 9650 46850 ...

First Run Output

17518 6576457622195986967

Second Run Input

2 10000 17518 6576457622195986967
64943 35888 3419 41854 50425 51333 24668 58986 28993 41338 22684 15157 48740 60710 50048 230 26733 17502 34126 34749 34308 50966 34124 34616 34315 27413 12406 11045 5737 48762 13642 3156 62909 51864 28909 46875 45928 37752 16718 50515 15127 35861 17555 62723 62163 2...

Second Run Output

53623 62370

result:

ok correct

Test #93:

score: 100
Accepted
time: 21ms
memory: 3612kb

First Run Input

1 10000
49544 58758 12249 23342 6444 64401 18640 42154 50541 60023 8070 39226 21573 47666 49946 19572 22589 28049 26089 12350 21681 11733 35853 24721 54594 7891 49207 54024 2485 31068 23076 32082 25175 55641 50397 55652 9761 34915 23607 519 51920 63667 35919 44391 14367 36326 56106 12715 17520 65005...

First Run Output

34785 6613519587578720525

Second Run Input

2 10000 34785 6613519587578720525
27716 60354 11193 26670 16928 46590 17988 60071 7509 22434 63746 52502 16428 47858 5725 19972 57806 51966 26278 28934 25265 44636 1980 58828 2564 50558 18300 60778 64477 45540 45384 1440 24310 29740 32926 1993 12603 27896 37790 39012 47013 50291 59463 17429 61560 57...

Second Run Output

55389 20174

result:

ok correct

Test #94:

score: 100
Accepted
time: 20ms
memory: 3796kb

First Run Input

1 10000
60946 44901 33177 2061 57353 28915 50582 45367 20839 29537 44490 607 56337 26458 39222 5575 2391 6060 3935 43324 19607 53519 58799 22433 23910 49375 9654 42318 47851 62499 48834 14942 4538 34384 4555 24013 1136 35986 63964 30989 41352 52939 27260 43492 23327 13392 35037 2505 28972 39622 6068...

First Run Output

63890 17590491377566783954

Second Run Input

2 10000 63890 17590491377566783954
48888 59411 35086 11046 874 64930 193 18511 60460 55946 30855 53729 46909 28920 9085 46484 10642 41218 60531 53877 8045 47968 64201 2391 27937 35461 43361 60083 22152 58153 25351 27527 30655 509 59345 35605 13954 27866 15766 64266 17175 61173 63987 60156 31836 5522...

Second Run Output

6967 7089

result:

ok correct

Test #95:

score: 100
Accepted
time: 20ms
memory: 3832kb

First Run Input

1 10000
16838 64949 42626 9601 57604 30073 31623 45950 7366 24571 16903 57804 47055 7364 13844 30632 50876 60675 50067 62410 39159 442 38674 48255 53797 64941 60261 38079 13058 765 26429 13531 41835 44083 55438 44440 51152 3434 62536 11132 38065 12668 28627 10280 16205 58162 37172 25726 52835 40172 ...

First Run Output

25276 13745497860871462146

Second Run Input

2 10000 25276 13745497860871462146
44527 4347 27278 58379 34925 35094 21343 28205 18204 18109 35054 18879 56569 26871 53053 36110 37131 41005 41693 13800 63069 22832 43394 41049 20224 63203 2229 54119 41975 2272 38323 57248 11883 49191 25040 58091 25177 49493 40828 53654 44194 58696 40568 51111 1760...

Second Run Output

53618 48921

result:

ok correct

Test #96:

score: 100
Accepted
time: 421ms
memory: 3792kb

First Run Input

1 200000
2911773921 1240151319 2922621463 4212913987 654516022 1346159023 2958179392 3636238438 2595585873 2309818937 56587602 2502306891 947859502 3542716709 564725654 244565600 2217649111 1929780914 706421496 1964385979 198060838 3204399930 3215388445 1243703190 1046422218 712459057 942897472 2048...

First Run Output

466487015 1941220578158474385

Second Run Input

2 200000 466487015 1941220578158474385
115849595 2325577109 342518985 194331921 2906529419 1796399230 483687034 1124252417 1215226040 2304689479 2029566595 2370469495 2499207427 1622594141 4165495932 1586676458 531672678 997813539 2336637886 2747148397 1908390951 2855267164 268488713 3553374072 3658...

Second Run Output

1224797059 1757129094

result:

ok correct

Test #97:

score: 100
Accepted
time: 421ms
memory: 3908kb

First Run Input

1 200000
4101383982 3949422907 608129160 780342349 2690964481 811635758 3789847555 1414003911 401398573 741873624 305514443 842800619 86876319 737431589 1043139683 2167299889 2138825275 3017742896 587102788 810762141 2424710696 4220734871 1554705279 836096722 2144380219 2397634281 21107005 123964490...

First Run Output

2819795978 14327400799727000592

Second Run Input

2 200000 2819795978 14327400799727000592
3578308907 4016051000 436209582 2322186702 888119781 3197569233 4152550219 773301965 2218145777 3743418351 3045083695 342948724 1379142615 1563011698 3954957758 3666379662 3676516895 3965570543 1939627324 413257858 635215584 3856535105 4104262860 3545333834 3...

Second Run Output

796504802 4077965128

result:

ok correct

Test #98:

score: 100
Accepted
time: 421ms
memory: 3872kb

First Run Input

1 200000
3332301264 2074022087 2895872988 711480107 1763430195 2044386182 4125819835 1034410838 1680557415 772452912 3673351330 3120400156 4292460715 3061326031 2492841911 4110539634 923437172 355807887 1082488999 3049167137 2941192941 1717492922 3554667472 1622296126 3369534626 2952841982 369406992...

First Run Output

945871505 16540507299007942612

Second Run Input

2 200000 945871505 16540507299007942612
2499846429 1754318680 122929519 2322218903 333601670 3452247963 4056424772 1387112890 3057202711 2885994471 2834858554 3833881240 1122373490 3710139909 2688652237 2828656108 2632926119 2745541165 1383332168 122607678 2537506592 1394509688 502689300 2917365466 ...

Second Run Output

972937894 1781725473

result:

ok correct

Test #99:

score: 100
Accepted
time: 422ms
memory: 3864kb

First Run Input

1 200000
829637356 2792708033 3376250840 3620882002 975461471 2988637507 2744159846 3197115380 1495132015 919398321 2786971130 3932848065 1872377917 3336946633 1146925061 662383087 1536034539 1775713600 782520573 1435091187 2817858973 3572751235 3529421331 724565030 80502535 1745990395 2640608247 79...

First Run Output

1916754260 2602765256607687679

Second Run Input

2 200000 1916754260 2602765256607687679
1109780171 2721831133 965342781 887478040 3252217118 3369326281 1280017200 2353268618 889852469 3725789525 3141069187 2740932038 2746020081 1877042812 2104230669 180584646 2394367512 2099333463 487444863 541177472 2563350405 1619086798 1633967904 2296404748 22...

Second Run Output

2362810 1880050648

result:

ok correct

Test #100:

score: 100
Accepted
time: 420ms
memory: 3876kb

First Run Input

1 200000
1729853245 2899165965 1140670532 1925889744 1624690895 2134216768 3348198615 317573914 4153450387 797472982 890743426 3923251330 2156473283 106124863 1899272833 833422644 4292894002 670634966 77076658 306039584 1771856521 4031342081 4193870056 456943436 2557713689 2785258738 3296877411 1150...

First Run Output

2668419771 17698929199736332323

Second Run Input

2 200000 2668419771 17698929199736332323
3254961852 1090462702 3416767746 3992917296 2588949390 3267952969 556613021 3938062422 2304396491 790750284 1295660427 926415585 4113567520 35109444 512196124 3876515719 2783586856 1744891964 1382686067 1268427930 1424915567 1556374745 1691319874 2665128799 1...

Second Run Output

1433874347 2046242975

result:

ok correct

Test #101:

score: 100
Accepted
time: 421ms
memory: 3800kb

First Run Input

1 200000
2255682024 2009640816 2594205346 1247437441 3061825196 1915636480 3545501001 1514690572 278658344 428908490 4117686454 739921212 1713709520 1640138944 1785311178 627939495 2580391653 2653424280 731968267 3968625249 3843665083 3835861598 4105726270 4294532878 3069375530 3052962001 3417520674...

First Run Output

1009938784 7429216807502103316

Second Run Input

2 200000 1009938784 7429216807502103316
1145089497 2780409792 2985691977 1949817601 967078330 2161831009 1069462450 777394748 457772567 3429023386 1234618083 1916756128 3024595102 821439783 1985597356 2441853838 1615134508 229012871 765951174 1098148615 3738463431 2424770874 2274990499 2227867823 33...

Second Run Output

1241003583 2623933832

result:

ok correct

Test #102:

score: 100
Accepted
time: 417ms
memory: 3568kb

First Run Input

1 200000
4032229240 3900892660 3339392595 3171430781 1253646263 986104279 2807096129 2424834041 4269604173 1592068722 2750594014 153606638 285376473 389175558 2282277820 2764173207 3977502259 449687211 1255838979 304914059 677093089 1560255827 4268760201 2667911206 2099965266 3586660568 1818735865 1...

First Run Output

3635494198 7244525260707431392

Second Run Input

2 200000 3635494198 7244525260707431392
2296408771 381514178 557585555 1652051601 520089987 3988643762 3528834659 2164166259 1163946054 2979205763 3901340572 876257890 2227652030 2658807522 523973539 2963028996 2877678135 780257984 631993664 3364638764 256522160 2382949589 91975565 3977494713 256896...

Second Run Output

244709571 1614739120

result:

ok correct

Test #103:

score: 100
Accepted
time: 424ms
memory: 3660kb

First Run Input

1 200000
2318878148 437663238 2139018140 787768422 2162017036 1796469270 2629304764 4085966593 2582631451 692639804 1919327971 1651079527 330762234 358126538 1616090421 2418626356 3852082841 3420114911 3343286194 3723462270 324674974 3526439211 176130962 2754535773 3777443182 3815516002 4048521975 2...

First Run Output

3383961077 8412267874274667852

Second Run Input

2 200000 3383961077 8412267874274667852
1386542449 50956547 2278619193 2641182476 3780239929 3124488788 2902880845 1186558109 856013617 2417479725 666270615 2056660079 2333177405 3417387419 3273003397 3400057691 263623663 759046250 3166308054 1525122783 258450529 991961713 2035805155 3664682039 1173...

Second Run Output

2284778452 3535888776

result:

ok correct

Test #104:

score: 100
Accepted
time: 424ms
memory: 3692kb

First Run Input

1 200000
66425853 343780146 4147077079 1512683852 684961768 3337034797 1012022694 2854771590 3203030889 717271594 739037149 565282077 3944679965 3843321160 3271806591 2951234769 3488701065 3680396477 884332238 816285829 2155458285 924404656 34073794 3625598220 43524057 3829477989 646323688 341580811...

First Run Output

2791308366 18082696074661448401

Second Run Input

2 200000 2791308366 18082696074661448401
1304979089 779937116 2043294858 1015534659 1251275324 585319539 1852675592 955111440 1835386450 3430900956 4131570766 2844609594 846401803 1994770081 2995990701 2205226452 770461653 562492665 2170266605 2274950543 1774408711 1471442671 523215785 3755980803 99...

Second Run Output

199374311 3083989649

result:

ok correct

Test #105:

score: 100
Accepted
time: 422ms
memory: 3680kb

First Run Input

1 200000
3972896954 3086983971 1704182044 1931145677 1019518472 2986891959 4061936132 914281234 1501070101 2190641150 1668730158 3967246692 3981950304 83766325 3756654349 123856468 73271343 3054168141 1076737488 3792979724 3087019584 2655565802 3724516483 117063880 1125367745 93491324 2764974177 424...

First Run Output

2439166866 12861708399922822448

Second Run Input

2 200000 2439166866 12861708399922822448
2469553404 3597376650 2925697202 3062820155 1433033367 3728156022 4079852303 2036323128 4051107004 3112433621 3116432689 151413990 1191373125 1390445051 2590154473 2920410691 3887382947 3405544737 3360693388 3834183600 512321105 3713424251 2696101942 19931255...

Second Run Output

941341743 2631847990

result:

ok correct

Test #106:

score: 100
Accepted
time: 426ms
memory: 3908kb

First Run Input

1 200000
1844269714 3602287275 136166488 151293703 1521448692 2341160331 3978225668 2103863873 942047573 246603125 3219143529 129193618 3045928859 86892034 1965167783 3497410047 4010934032 310960889 2547922383 3543224040 3500548561 1441203628 988354315 1653810940 783582236 4007581469 3049948710 3110...

First Run Output

4164451538 16172377908802814647

Second Run Input

2 200000 4164451538 16172377908802814647
1862069837 3962822891 1440529861 3873499199 1538284284 3209996169 712206048 2573355216 2008497021 2812798155 1278874497 581141112 1077631070 1214544703 3272526799 1723512692 3805658569 1253171778 2417861657 873430152 510858541 421421343 1119277421 14678907 39...

Second Run Output

1005430766 3126807884

result:

ok correct

Test #107:

score: 100
Accepted
time: 418ms
memory: 3676kb

First Run Input

1 200000
1254204505 2230626062 2411075078 739167307 2472564191 1468959876 1939233606 1932362617 1902777121 1528787606 3953818782 2108789338 667636814 3770863897 1860486106 196574825 3043703229 3334344341 159254732 3903244476 176990024 1631519492 3755024522 717047492 791661807 860110290 1555508808 35...

First Run Output

866544727 6603200541753852760

Second Run Input

2 200000 866544727 6603200541753852760
1017708301 1315962411 2014357923 4276623378 2508934418 3245783299 653090574 3297512841 1030342880 2516323928 4275898472 811745749 2762563809 3330609569 3841854673 3676170912 2214793925 3067745997 1321342210 1183530732 3871417501 1428073860 1746400466 2680280727...

Second Run Output

2387903240 3947577333

result:

ok correct

Test #108:

score: 100
Accepted
time: 421ms
memory: 3696kb

First Run Input

1 200000
1520453855 4085810874 1482614940 3849166426 3606194301 98984242 1868546543 1202524432 4013010153 2544503990 1861701213 2466633838 1424917274 2110014230 3393977896 2351691302 1470293668 2071179336 2640791016 1902072542 74915820 1315506484 1895343994 433646910 3211533628 4085731252 1049248639...

First Run Output

2106484503 3631990914828215211

Second Run Input

2 200000 2106484503 3631990914828215211
4108327569 1426012552 4243151927 151043942 1167896755 3480764762 2004229481 1099943066 2948934667 2003481070 1700317174 3038407540 2434057284 4008593870 3510366027 2565418963 4105506513 3965251655 1757279072 1434539864 963963154 1493310528 443299323 1525142235...

Second Run Output

1314083257 2037198178

result:

ok correct

Test #109:

score: 100
Accepted
time: 421ms
memory: 3908kb

First Run Input

1 200000
3807442348 3877341056 860096156 2635119273 2937879530 4269729013 1181681960 2981548783 1138849679 1702097181 720634456 3759855962 2511424945 2977732207 2452147976 1550962332 1329312834 2240994792 1244982541 4111609016 1541541365 4040538053 3644692502 2141429796 1031392720 958516477 17837261...

First Run Output

3991168518 6029684033735374168

Second Run Input

2 200000 3991168518 6029684033735374168
3512069715 247224005 4225920858 2670970681 1402732500 2309412961 948551525 2367851426 3618621891 2937121548 395489496 2318983493 2127828733 515505913 2299491048 3636744716 2122130462 1905320684 748566495 2794703767 555959935 141615135 962226475 3431148967 2648...

Second Run Output

180242502 718353058

result:

ok correct

Test #110:

score: 100
Accepted
time: 417ms
memory: 3636kb

First Run Input

1 200000
1296305124 1090386113 3988706735 3597742090 2514293417 2156634722 1267435963 112200129 3759407852 729757316 191728047 3445712514 2079496832 3819860692 3810517025 3016909744 1163082664 3842655573 2934823764 3095795166 2825813424 2536776775 2139624519 3589369450 1533467944 437238953 279435339...

First Run Output

2859507168 390913159935130618

Second Run Input

2 200000 2859507168 390913159935130618
702115195 1827642237 1647193164 342993817 2620244027 4196651280 3859251182 1291274257 3420269802 1129690650 244485418 812570858 1033685800 2689297346 708246623 2362724811 3395159788 205759320 785851884 3222391222 4081495508 2051503187 3419398112 380105187 50960...

Second Run Output

1521963145 4099029136

result:

ok correct

Test #111:

score: 100
Accepted
time: 417ms
memory: 3904kb

First Run Input

1 200000
560324173 698348747 2099369568 3320808643 2367081268 3895183339 2544373878 1861063268 3187951384 255161824 1299069242 1240326426 1984163110 2239953854 2998539807 561692073 1078421408 2007267013 2284701662 3731329712 976215362 2332985119 3595505636 4152778890 2071561624 456906344 3894794173 ...

First Run Output

523044820 9998658163459533241

Second Run Input

2 200000 523044820 9998658163459533241
2979932851 2686775548 2528684285 4039811062 528172511 1690577198 3261754441 361939114 3411516009 2699420942 1936674687 3179951050 2767710983 3425872061 2301877890 1221454418 3256020494 1963441363 962524167 3998372952 3449506554 406235622 1517469491 3113951393 4...

Second Run Output

688966270 1434013278

result:

ok correct

Test #112:

score: 100
Accepted
time: 417ms
memory: 3800kb

First Run Input

1 200000
2272597132 1406088412 3925912283 3923246126 2325389193 3848431213 3433935886 2501721042 1119276324 189931564 3086340457 2944354747 2665329739 3004959516 1462002005 430508021 2509075481 1047356314 3210929466 3386059407 3602276656 3944590337 2663372610 2551637060 2541086500 2206608873 1401288...

First Run Output

1020371523 1360910244221320041

Second Run Input

2 200000 1020371523 1360910244221320041
1118234353 3880132958 3616513687 3185933053 1670601152 2227458746 870942199 4044511461 347618333 2737261315 271412794 3760060331 2345835000 1950222781 2910766847 3675798748 1671570289 2241242870 581817915 458967540 2189738949 310897029 848996414 610728797 2404...

Second Run Output

1498216168 2836616730

result:

ok correct

Test #113:

score: 100
Accepted
time: 421ms
memory: 3832kb

First Run Input

1 200000
837942485 3776655245 164710738 3760314059 1186743275 2138867560 1955420104 2455892151 2038770974 718639404 412355372 3663260929 4182543987 2364176625 199558380 1691362868 2952941250 3089548250 2985265111 3414462894 3453580167 4106620400 3248981518 3064804651 442249512 1838439596 3353294915 ...

First Run Output

1000131725 15442939935834035531

Second Run Input

2 200000 1000131725 15442939935834035531
2814612742 1892916231 1413248538 3102915621 2804815957 3714723183 3975765607 2454407458 2357930769 3832449814 2169213748 1670831714 153716952 3335776857 1912565189 1193521581 190601962 1224668336 1256807855 4080156655 1839013865 3123139633 3139410634 39549502...

Second Run Output

1899709043 3590698668

result:

ok correct

Test #114:

score: 100
Accepted
time: 421ms
memory: 3696kb

First Run Input

1 200000
3757889055 785721019 358444336 233962459 3858037588 767076329 459932072 2420413944 1529727006 3620865213 3141974090 1050755900 211782719 4078635891 4259447412 3741812102 3439619895 655049657 560866603 24546001 1789849450 1391943951 2600211637 735244544 1181626723 2945545414 2306453909 20919...

First Run Output

4052813432 18017181837840994979

Second Run Input

2 200000 4052813432 18017181837840994979
1676762319 3420943190 3852600631 64388973 1245634149 1135592590 3123861132 1625366174 373822294 2838011694 3107219702 305538936 3074530542 4057088489 769254921 4111199268 2455676804 3830298438 3090893942 4173851152 306526706 531030162 145137633 645938600 3349...

Second Run Output

2870050198 4187622078

result:

ok correct

Test #115:

score: 100
Accepted
time: 421ms
memory: 3612kb

First Run Input

1 200000
3044579603 2787372791 4089621998 1120496705 1234167995 3112244892 4018941339 4195010240 2280501029 3948422735 331427016 2410399002 3253221268 3076733189 835500305 3064852159 281334232 3678212682 3225603054 2906376663 3787681060 3796186096 4011784481 3827833353 3518582546 1196119464 17182043...

First Run Output

178941766 498633587491025908

Second Run Input

2 200000 178941766 498633587491025908
2351645589 2887404584 3991915870 59935099 785869404 4215698026 465280656 2918934860 3277883007 290648229 3227267578 3955154248 3393349300 4222561943 3733231911 623966897 632077787 2413192514 3812891044 2985197521 1292683010 1303082140 1784613898 976247250 329432...

Second Run Output

2028874750 2737972457

result:

ok correct

Test #116:

score: 100
Accepted
time: 422ms
memory: 3900kb

First Run Input

1 200000
2431896889 1229145858 2717755403 1901975295 402293698 3432277528 3782688082 3151720654 621791892 1731075269 4286124402 3266417540 2195973409 3256984509 2220171285 1461592308 1484640536 1666664493 4188248074 1782992332 1550511457 1149438920 733748528 37104123 2393831551 3631575691 1780761573...

First Run Output

3246584958 674858017144217700

Second Run Input

2 200000 3246584958 674858017144217700
3062102683 838888878 1820268083 2250324339 2644385527 2641730696 146197692 373084211 4178746257 1925410408 2593736279 3215367996 2130267620 2341077705 3474696130 842920642 3733180167 1173578936 3349614476 3472840451 630374614 975798268 1187228143 2816285372 145...

Second Run Output

2508513001 3707804051

result:

ok correct

Test #117:

score: 100
Accepted
time: 421ms
memory: 3640kb

First Run Input

1 200000
3067642662 1423099995 157326509 3784597202 280542363 1931962865 959736350 962400990 3728932481 989069751 1129665596 1237403334 1024318193 3590089121 3429800208 4255773705 3044170582 1554920383 1367028146 4188914014 1266458250 708086948 1589661434 3436460801 3032322941 323660135 3078421724 2...

First Run Output

1107100099 15792521443246335573

Second Run Input

2 200000 1107100099 15792521443246335573
4208391125 313051871 830216934 1139875037 4157175946 1767684238 1791866514 1980381838 3355029976 2294801146 2883324012 1385505509 147958666 2752399282 1996229690 3784189172 864722600 213087498 1920450703 2181951953 1091125532 3947332565 2460355614 843335279 1...

Second Run Output

222340632 2777552838

result:

ok correct

Test #118:

score: 100
Accepted
time: 423ms
memory: 3692kb

First Run Input

1 200000
3464729209 2068195158 1133163748 4091420441 919256111 171536307 3656062780 2055709248 1282311157 3372543269 677599310 238588529 4193670910 2990434580 2451440908 924428765 3382202435 2621333076 3629054853 3234430428 2382575043 940658969 1696652676 4027501387 1197616882 1027120232 760797832 1...

First Run Output

3380207662 13924140857490675895

Second Run Input

2 200000 3380207662 13924140857490675895
1638548335 3469741643 2747757890 4220313076 697667169 487326927 3262455266 509743054 3046190241 1135324992 2694304265 944059116 1869752561 3002712051 1473555054 4113816014 160084365 520423061 1667421871 1887214461 3230768612 4267106856 2727645093 4070485540 1...

Second Run Output

1806163091 2568360730

result:

ok correct

Test #119:

score: 100
Accepted
time: 419ms
memory: 3908kb

First Run Input

1 200000
3177971068 2259466701 4229888506 1148135490 3138571688 2210565097 3662655302 174029668 1906352424 2297210140 1078339016 1868485948 3093112699 3303338409 2576539926 2115789720 3820494465 754093182 967169722 1641041901 1797238245 826246769 562392143 3005186903 3540706390 3707931201 3778006617...

First Run Output

1528916943 8691322166492923256

Second Run Input

2 200000 1528916943 8691322166492923256
3500963708 600363285 2006178826 3200033547 3143434527 3189002190 2865553841 3174231258 3078163197 3092877719 3195999081 3676773064 3074686466 887755661 2694645302 713301827 958956694 824015413 4210027293 3332957865 229075253 2689436098 1181127128 2269268090 10...

Second Run Output

3547855890 3996782955

result:

ok correct

Test #120:

score: 100
Accepted
time: 423ms
memory: 3688kb

First Run Input

1 200000
3553447197 4062034226 2931920624 2086010970 3136637977 2820575384 3372476064 2105898157 1033899022 1974935876 4174792848 1951308040 572097209 1510383214 2378037385 3291802295 3443587092 3640723202 2849620999 2826127912 836359603 3287965696 1359521519 28380491 2113039349 737887840 1424842524...

First Run Output

1078368592 504413504428030203

Second Run Input

2 200000 1078368592 504413504428030203
11648227 1938956589 2526281928 2493762448 823099134 1280959442 1042562693 2475798947 635432819 1046642354 2797750768 2731161611 2896589932 3296748109 702297524 1724225875 1849396204 3965674017 2777668607 228105765 183030444 1044059428 4190315770 1287782060 4294...

Second Run Output

28422814 2889175979

result:

ok correct

Test #121:

score: 100
Accepted
time: 418ms
memory: 3908kb

First Run Input

1 200000
2147329587 2096475296 613238081 2145057047 1796956823 4011556478 4181707641 1284788296 2565142797 1941837732 858495656 108587405 3678862668 1901002073 3506940064 3526188348 1180041368 1425870691 4138436322 2080210497 2129706033 580597369 2937550038 3157367228 10018536 1055254794 3113063256 ...

First Run Output

4105043477 17703416267163694441

Second Run Input

2 200000 4105043477 17703416267163694441
1655735052 3042006272 1103900129 3336297530 1484009521 2637895311 1609777678 3411790585 2458226231 2800909282 1226400196 3547609096 3610241201 2641737784 3041371975 1900406533 3175001316 2834520031 415015249 1978380566 3314130480 3910780531 2155208520 2539929...

Second Run Output

328490172 2261645837

result:

ok correct

Test #122:

score: 100
Accepted
time: 415ms
memory: 3876kb

First Run Input

1 200000
2970209182 1784597644 3279079245 2338079781 2422052340 2087597232 1529526510 1701324692 422223659 1732979603 2777689761 2130586475 958239854 3231686528 3188692273 3892946627 140230525 3473699137 689843721 2244984994 595788647 1111355430 3025853626 1990741970 602200950 671352552 635238213 37...

First Run Output

4261967389 13127823476056313710

Second Run Input

2 200000 4261967389 13127823476056313710
1062740517 2351563610 774066073 3913649999 568572976 3328846474 2484017678 1997644798 3374738302 934850587 3691593126 3969438376 2223815470 4254764683 478399726 1312836258 4028434726 3402629346 3515760693 3084793492 134226597 3088749713 3924138913 1707595040 ...

Second Run Output

1230191133 1661994981

result:

ok correct

Test #123:

score: 100
Accepted
time: 421ms
memory: 3640kb

First Run Input

1 200000
2849256582 1000894850 4011619228 3430699988 843949270 3843466179 2901382521 3971792438 4072274726 2509649163 3919208953 1913823581 3350138714 4246553328 1208325330 945956667 1014323648 797412431 2781195782 2065170682 1494093182 2418132631 2938752811 3582427731 1201884012 4202014626 27190829...

First Run Output

3182285177 17473674332697782345

Second Run Input

2 200000 3182285177 17473674332697782345
2769961122 2671105152 2839991148 2887904296 4272812058 936027826 4158027850 449323274 2379454738 1245658563 3334440314 3299108666 3754807935 2013520381 418432884 2693343052 844635249 1933609027 293084847 2530311922 2715860002 3045873149 3685881637 2905898337 ...

Second Run Output

2956790153 3689141490

result:

ok correct

Test #124:

score: 100
Accepted
time: 421ms
memory: 3604kb

First Run Input

1 200000
3233220125 3960905782 3287295099 2848053972 3336109145 1226873390 4207041713 1073425928 2695331773 611638259 3140874533 791476780 3797120262 4133421615 3745205255 3964833678 4270951668 2056909461 3760003323 552188018 2157324828 1761891706 1518316137 427468 1114154165 856357460 883297365 295...

First Run Output

1777742974 5090481322468828525

Second Run Input

2 200000 1777742974 5090481322468828525
3988836660 2160755584 3892155381 2988963835 3257940873 29910335 3195467614 509011002 1423930091 3797125139 690612239 1644607482 3089251810 591195365 2901507583 772388195 1000659091 3508210301 1943462466 368729632 482052440 1043723800 386581171 2991804115 66127...

Second Run Output

1533010852 2138394993

result:

ok correct

Test #125:

score: 100
Accepted
time: 417ms
memory: 3860kb

First Run Input

1 200000
1280589052 663627943 301420608 3931710249 301299216 2144088156 499425673 1308542588 1779267682 4085251638 859429394 40687452 2195222120 1245226000 4235738788 1757359790 1701449355 1575184635 3697040409 3308453311 659115530 1542185318 2518605451 2849034275 1322383010 499208650 3264341543 279...

First Run Output

47249281 18135562036899690674

Second Run Input

2 200000 47249281 18135562036899690674
1650832819 98907865 4142441224 869703704 833535237 1409376472 1720494806 126418026 2667347272 323681983 2530645757 3077948779 2608507443 4215504090 535654356 1763702567 4204943957 2170628472 3311528182 2306077046 2070579321 855079533 9966872 3123569415 10707751...

Second Run Output

1435655973 1617813607

result:

ok correct

Test #126:

score: 100
Accepted
time: 564ms
memory: 3660kb

First Run Input

1 200000
3558026423727162951 38179215270195564 6686885509946878423 9592477835859175008 3178331448842580948 6438575875865712922 15287972858028424484 759699708069124544 6420190604305483204 11571203747109215173 14332874967910617048 5478448408239285957 5126717829449395187 17347937322667200501 5209428559...

First Run Output

12709692127926644777 2187316521532933731

Second Run Input

2 200000 12709692127926644777 2187316521532933731
14499048244594535600 15011373364972069133 690517720295009923 8063531182353493813 7878950707765399586 9880521763603736790 3982083939127138294 14426884229058237504 1824888342218955765 8440830383041841757 10226312705827588645 1614409615262356575 1352116...

Second Run Output

8637536678387532212 11823528224542639376

result:

ok correct

Test #127:

score: 100
Accepted
time: 568ms
memory: 3644kb

First Run Input

1 200000
7857074502133940516 18347420113382631829 789947195417249526 6790833168424920819 2726190859247218824 3452666057736056015 12983636786300434942 5262556619134925804 2752905833451699813 8978222396603119673 14616228670894288273 7848373337559909768 12688964783718666830 14947887180878940999 1427630...

First Run Output

9376041835213151844 10383192138954380595

Second Run Input

2 200000 9376041835213151844 10383192138954380595
15229160192723245858 11664157862915027416 6781763468936894849 12866879874215344505 9785624474562358588 8331158046007734006 13268535148756538099 14144979509209626063 664564021817206246 15749092304149805557 16869190982781838841 2115812730960976666 1138...

Second Run Output

3809000818663513009 13168472702762706116

result:

ok correct

Test #128:

score: 100
Accepted
time: 568ms
memory: 3860kb

First Run Input

1 200000
18031960683849934628 11756503225295220533 11612153500923627314 11470218874228921193 5098212304027626286 10452678820003168533 14948307850209061819 3331169451004777459 4507958435050530911 17132425223850690709 12870259283504255410 1363824272972824217 9640393012181895317 2263914394002224626 318...

First Run Output

12354940907075950451 6341205346889566251

Second Run Input

2 200000 12354940907075950451 6341205346889566251
12083405108549348302 14548048112529444376 17733140352181385883 4426461728681858248 3051043666143443806 12038274601722402014 4074378446130360101 3702136976605462913 759735499243215764 513434456398087989 13780993832699477184 696179683521314576 16089550...

Second Run Output

4849622471684963144 18012692109615862416

result:

ok correct

Test #129:

score: 100
Accepted
time: 569ms
memory: 3896kb

First Run Input

1 200000
1141423409264138008 3444825022527415583 17796687312383232602 6052257390309018555 1542786416401374314 4168815539068445708 3204320964510534926 1281189488132183448 6394715172850744250 14232159516475422549 17145805999187442263 3151753756971003690 5166448173349022097 6466287450632922073 88218884...

First Run Output

10479789471211016518 4299608868992065307

Second Run Input

2 200000 10479789471211016518 4299608868992065307
13724613555245450787 8250063661860867526 3710228546830024444 1942932459703361818 2130880405199230412 589763336077238916 8056931456839752846 2983171034618965317 1159329705730181761 10654397397427406685 8372432857191366887 16119775867270816463 51373363...

Second Run Output

4627480930004382318 17089422047705738855

result:

ok correct

Test #130:

score: 0
Wrong Answer
time: 566ms
memory: 3856kb

First Run Input

1 200000
13589229663151184573 9259880804894763992 3575941698994018394 7988290730826279311 18346985840512723695 452764451037928850 15169199593999961752 6370680794214749648 13002042199468324755 12139270372472013311 14673288010586112622 13880439689368059674 17153244149362332905 2017391264885314341 1155...

First Run Output

15942961401740612215 6970830224030878608

Second Run Input

2 200000 15942961401740612215 6970830224030878608
13186967292294602563 15120543265978292725 17769998965619109441 14461976652558819432 15620027274304519893 13180152196192380730 10242581623931208456 974140940819178686 8273639785566892075 5743293256129534632 14728169713691954521 15509639828595630805 35...

Second Run Output

4538490869776641171 12732834047765762815

result:

wrong answer incorrect, read 4538490869776641171 12732834047765762815 but expected 5699213283487364873 13931960444127512933