feat: new divide and conquer problem formated.
This commit is contained in:
97
bolhas/Makefile
Normal file
97
bolhas/Makefile
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
# Normal directories
|
||||||
|
SRC_DIR := src
|
||||||
|
BIN_DIR := bin
|
||||||
|
DBG_DIR := bin/debug
|
||||||
|
|
||||||
|
# Grader directories
|
||||||
|
GRADER := $(wildcard $(SRC_DIR)/grader.cpp)
|
||||||
|
GRADER_DIR := $(SRC_DIR)/grader
|
||||||
|
HANDLER_DIR := $(SRC_DIR)/handler
|
||||||
|
|
||||||
|
GRADER_SRC := $(wildcard $(GRADER_DIR)/*.cpp)
|
||||||
|
GRADER_BIN := $(patsubst $(GRADER_DIR)/%.cpp, $(BIN_DIR)/%, $(GRADER_SRC))
|
||||||
|
GRADER_DBG := $(patsubst $(GRADER_DIR)/%.cpp, $(DBG_DIR)/%, $(GRADER_SRC))
|
||||||
|
|
||||||
|
# Change CPP source directories if grader is defined
|
||||||
|
ifdef GRADER
|
||||||
|
SRC := $(wildcard $(HANDLER_DIR)/*.cpp)
|
||||||
|
BIN := $(patsubst $(HANDLER_DIR)/%.cpp, $(BIN_DIR)/%, $(SRC))
|
||||||
|
DBG := $(patsubst $(HANDLER_DIR)/%.cpp, $(DBG_DIR)/%, $(SRC))
|
||||||
|
else
|
||||||
|
SRC := $(wildcard $(SRC_DIR)/*.cpp)
|
||||||
|
BIN := $(patsubst $(SRC_DIR)/%.cpp, $(BIN_DIR)/%, $(SRC))
|
||||||
|
DBG := $(patsubst $(SRC_DIR)/%.cpp, $(DBG_DIR)/%, $(SRC))
|
||||||
|
endif
|
||||||
|
|
||||||
|
SRC_C := $(wildcard $(SRC_DIR)/*.c)
|
||||||
|
BIN_C := $(patsubst $(SRC_DIR)/%.c, $(BIN_DIR)/%, $(SRC_C))
|
||||||
|
DBG_C := $(patsubst $(SRC_DIR)/%.c, $(DBG_DIR)/%, $(SRC_C))
|
||||||
|
|
||||||
|
SRC_JAVA := $(wildcard $(SRC_DIR)/*.java)
|
||||||
|
BIN_JAVA := $(patsubst $(SRC_DIR)/%.java, $(BIN_DIR)/%.class, $(SRC_JAVA))
|
||||||
|
DBG_JAVA := $(patsubst $(SRC_DIR)/%.java, $(DBG_DIR)/%.class, $(SRC_JAVA))
|
||||||
|
|
||||||
|
CHECKER := $(wildcard $(SRC_DIR)/checker.cpp)
|
||||||
|
|
||||||
|
C := gcc
|
||||||
|
CPP := g++
|
||||||
|
CXX_FLAGS := -Wall -O2
|
||||||
|
DEBUG_FLAGS := -Wall -g
|
||||||
|
BOCA_FLAGS := -static -DBOCA_SUPPORT
|
||||||
|
|
||||||
|
JV = javac
|
||||||
|
JV_DEBUG = -g
|
||||||
|
JV_DIR = -d bin
|
||||||
|
JV_DBG_DIR = -d bin/debug
|
||||||
|
|
||||||
|
.PHONY: all debug release checker clean
|
||||||
|
|
||||||
|
all: debug release checker
|
||||||
|
|
||||||
|
debug: $(DBG) $(DBG_C) $(DBG_JAVA) $(GRADER_DBG)
|
||||||
|
|
||||||
|
release: $(BIN) $(BIN_C) $(BIN_JAVA) $(GRADER_BIN)
|
||||||
|
|
||||||
|
ifdef CHECKER
|
||||||
|
checker: $(DBG_DIR)/checker-boca $(BIN_DIR)/checker-boca
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(BIN): $(BIN_DIR)/% : $(SRC_DIR)/%.cpp | $(BIN_DIR)
|
||||||
|
$(CPP) $(CXX_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(DBG): $(DBG_DIR)/% : $(SRC_DIR)/%.cpp | $(DBG_DIR)
|
||||||
|
$(CPP) $(DEBUG_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(BIN_C): $(BIN_DIR)/% : $(SRC_DIR)/%.c | $(BIN_DIR)
|
||||||
|
$(C) $(CXX_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(DBG_C): $(DBG_DIR)/% : $(SRC_DIR)/%.c | $(DBG_DIR)
|
||||||
|
$(C) $(DEBUG_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(BIN_JAVA): $(BIN_DIR)/%.class : $(SRC_DIR)/%.java | $(BIN_DIR)
|
||||||
|
$(JV) $(JV_DIR) $^
|
||||||
|
|
||||||
|
$(DBG_JAVA): $(DBG_DIR)/%.class : $(SRC_DIR)/%.java | $(DBG_DIR)
|
||||||
|
$(JV) $(JV_DEBUG) $(JV_DBG_DIR) $^
|
||||||
|
|
||||||
|
$(GRADER_BIN): $(BIN_DIR)/% : $(GRADER_DIR)/%.cpp $(GRADER) $(GRADER_DIR)/*.h
|
||||||
|
$(CPP) $(CXX_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(GRADER_DBG): $(DBG_DIR)/% : $(GRADER_DIR)/%.cpp $(GRADER) $(GRADER_DIR)/*.h
|
||||||
|
$(CPP) $(DEBUG_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(BIN_DIR):
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
|
$(DBG_DIR):
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
|
$(BIN_DIR)/checker-boca: $(SRC_DIR)/checker.cpp
|
||||||
|
$(CPP) $(CXX_FLAGS) $(BOCA_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
$(DBG_DIR)/checker-boca: $(SRC_DIR)/checker.cpp
|
||||||
|
$(CPP) $(DEBUG_FLAGS) $(BOCA_FLAGS) $^ -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@echo Cleaning problem files
|
||||||
|
rm -rf bin
|
||||||
BIN
bolhas/bolhas.pdf
Normal file
BIN
bolhas/bolhas.pdf
Normal file
Binary file not shown.
51
bolhas/bolhas.tex
Normal file
51
bolhas/bolhas.tex
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
\documentclass{maratona}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\begin{ProblemaAutor}{}{Bolhas}{1}{256}{UVA - 11495}
|
||||||
|
|
||||||
|
Carlos e Marcelo decidiram jogar um jogo com sequências de números. O jogo começa com uma permutação de $1, 2, \ldots, N$ gerada aleatoriamente.
|
||||||
|
|
||||||
|
Os jogadores alternam turnos, e \textbf{Marcelo sempre é o primeiro a jogar}. Um movimento consiste em escolher um par de elementos \textbf{adjacentes} que estejam fora de ordem (onde o elemento da esquerda é maior que o da direita) e trocá-los de lugar.
|
||||||
|
|
||||||
|
Por exemplo, se a sequência for $(1, 5, 3, 4, 2)$, um jogador pode trocar o $5$ pelo $3$ ou o $4$ pelo $2$. Se o jogador escolher trocar o $5$ e o $3$, a nova sequência será $(1, 3, 5, 4, 2)$.
|
||||||
|
|
||||||
|
O objetivo do jogo é ordenar a sequência em ordem crescente. O jogador que receber a sequência já ordenada, não tendo movimentos possíveis a realizar, perde a partida. Sua tarefa é determinar quem será o vencedor do jogo para a permutação inicial fornecida.
|
||||||
|
|
||||||
|
\Entrada
|
||||||
|
|
||||||
|
A entrada é composta por duas linhas.
|
||||||
|
|
||||||
|
A primeira linha contém um inteiro $N$ ($2 \le N \le 10^5$), representando o número de elementos da sequência.
|
||||||
|
|
||||||
|
A segunda linha contém a sequência $P = (X_1, X_2, \ldots, X_N)$ de $N$ inteiros distintos, onde $1 \le X_i \le N$.
|
||||||
|
|
||||||
|
\Saida
|
||||||
|
|
||||||
|
Imprima uma única linha contendo o nome do vencedor: \texttt{Carlos} ou \texttt{Marcelo}.
|
||||||
|
|
||||||
|
\ExemploEntrada
|
||||||
|
\begin{Exemplo}
|
||||||
|
\texttt{5} & \texttt{Marcelo}\\
|
||||||
|
\texttt{1~5~3~4~2} & \\
|
||||||
|
\rowcolor{gray!20}\texttt{5} & \texttt{Carlos}\\
|
||||||
|
\rowcolor{gray!20}\texttt{5~1~3~4~2} & \\
|
||||||
|
\texttt{5} & \texttt{Carlos}\\
|
||||||
|
\texttt{1~2~3~4~5} & \\
|
||||||
|
\end{Exemplo}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\Notas
|
||||||
|
|
||||||
|
No primeiro caso de teste, a sequência inicial é $(1, 5, 3, 4, 2)$. Para ordenar esta sequência, são necessárias 5 trocas. Uma possível sequência de trocas seria:
|
||||||
|
\begin{itemize}
|
||||||
|
\item $(1, 5, 3, 4, 2) \rightarrow (1, 3, 5, 4, 2)$
|
||||||
|
\item $(1, 3, 5, 4, 2) \rightarrow (1, 3, 4, 5, 2)$
|
||||||
|
\item $(1, 3, 4, 5, 2) \rightarrow (1, 3, 4, 2, 5)$
|
||||||
|
\item $(1, 3, 4, 2, 5) \rightarrow (1, 3, 2, 4, 5)$
|
||||||
|
\item $(1, 3, 2, 4, 5) \rightarrow (1, 2, 3, 4, 5)$
|
||||||
|
\end{itemize}
|
||||||
|
Como o número total de movimentos é 5 (ímpar) e Marcelo é o primeiro a jogar, ele fará o último movimento. Portanto, \textbf{Marcelo} é o vencedor.
|
||||||
|
|
||||||
|
No terceiro caso, a sequência fornecida é $(1, 2, 3, 4, 5)$. Como a sequência já se encontra perfeitamente ordenada, não existem pares adjacentes fora de ordem para realizar um movimento. Marcelo, sendo o primeiro a jogar, recebe a sequência sem movimentos possíveis e perde a partida imediatamente. Assim, o vencedor é \textbf{Carlos}.\end{ProblemaAutor}
|
||||||
|
\end{document}
|
||||||
2
bolhas/input/1
Normal file
2
bolhas/input/1
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
5
|
||||||
|
1 5 3 4 2
|
||||||
2
bolhas/input/10
Normal file
2
bolhas/input/10
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
319
|
||||||
|
200 254 298 260 311 234 88 212 314 263 115 274 138 65 184 195 206 168 307 141 282 121 4 151 95 158 118 170 183 297 223 99 21 131 11 296 159 44 231 190 54 94 100 304 9 34 75 286 248 256 10 3 13 33 272 284 87 293 136 306 24 137 178 83 63 35 107 116 139 30 233 49 205 197 125 215 245 161 142 265 250 240 187 55 222 147 269 140 128 26 287 78 96 126 241 38 155 257 261 243 145 90 313 224 133 45 23 154 267 52 181 109 308 244 2 103 25 216 295 122 262 32 208 258 164 41 280 242 270 315 101 211 179 14 72 77 174 68 76 123 148 172 40 69 57 317 156 22 292 266 167 64 17 29 204 173 199 309 5 283 177 302 91 276 300 135 112 273 106 127 221 86 20 288 255 130 124 70 132 290 213 36 67 27 171 53 294 50 56 247 235 253 102 185 98 210 19 89 129 225 153 108 79 229 51 105 209 281 120 238 319 232 182 81 134 59 207 47 160 6 48 186 62 113 58 301 278 97 157 252 189 169 201 1 214 43 111 264 303 110 60 246 175 144 219 268 251 305 198 299 7 82 289 196 166 84 285 237 310 31 42 180 39 114 74 46 218 165 316 66 85 162 271 191 119 80 188 194 217 230 227 28 15 275 163 93 152 249 18 312 291 16 61 192 117 277 8 149 193 239 279 104 71 176 92 226 259 236 37 143 228 146 202 318 73 203 150 220 12
|
||||||
2
bolhas/input/100
Normal file
2
bolhas/input/100
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/101
Normal file
2
bolhas/input/101
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/102
Normal file
2
bolhas/input/102
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/103
Normal file
2
bolhas/input/103
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/104
Normal file
2
bolhas/input/104
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/105
Normal file
2
bolhas/input/105
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/106
Normal file
2
bolhas/input/106
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/107
Normal file
2
bolhas/input/107
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/11
Normal file
2
bolhas/input/11
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
485
|
||||||
|
472 188 228 332 432 383 252 239 6 376 63 19 130 419 242 229 451 456 245 464 336 255 142 198 436 265 244 475 394 347 180 65 234 280 443 110 225 171 102 289 177 294 214 396 460 89 151 375 304 134 200 184 84 328 399 104 463 395 293 314 109 287 161 359 7 53 83 123 20 318 176 340 67 286 343 243 259 352 52 267 274 335 311 187 59 55 278 137 118 297 217 61 454 85 248 127 49 93 62 438 388 22 379 120 256 367 71 169 181 90 437 202 439 194 353 330 162 232 442 164 465 405 159 412 397 420 476 195 440 313 417 191 88 358 346 448 5 87 148 413 4 462 64 220 315 144 68 69 27 43 141 273 312 173 17 276 212 377 427 209 131 350 189 168 386 453 360 223 329 105 113 361 145 262 429 369 35 260 129 158 445 40 444 380 26 179 60 411 77 51 325 323 12 72 283 227 133 226 82 15 264 345 155 106 308 310 406 459 322 391 290 101 478 302 258 390 326 50 263 100 138 47 207 204 378 143 408 111 474 210 218 215 288 368 236 415 183 208 257 2 42 374 136 58 156 36 457 48 366 166 28 277 357 355 80 41 468 430 37 249 29 224 25 91 316 174 481 309 282 279 331 483 79 24 400 404 76 45 338 480 205 409 372 216 365 56 160 172 254 112 96 126 469 235 324 21 389 471 418 425 301 178 402 32 381 319 74 219 23 333 351 266 354 99 196 423 327 211 3 238 233 149 467 298 135 356 458 281 33 434 477 385 44 98 34 186 147 449 296 452 334 424 414 18 240 295 157 253 307 261 484 341 66 70 125 272 230 153 115 387 398 410 237 342 447 479 435 473 466 461 146 305 11 284 271 122 370 441 31 103 78 46 154 246 428 382 182 300 86 116 285 54 337 119 16 10 373 362 92 128 206 426 403 152 433 339 163 199 9 14 231 97 117 416 349 275 201 269 39 303 139 197 57 250 450 393 38 140 75 193 8 348 371 321 247 132 114 73 407 455 150 190 192 30 268 251 401 170 13 422 392 241 107 124 363 221 431 384 81 299 222 95 203 306 485 94 320 364 108 185 291 317 292 175 470 1 213 482 121 167 344 446 270 165 421
|
||||||
2
bolhas/input/12
Normal file
2
bolhas/input/12
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
41
|
||||||
|
19 15 12 40 37 38 25 2 22 20 21 29 31 35 5 26 36 11 30 9 10 41 33 13 17 27 4 6 34 32 7 1 18 39 8 3 24 28 16 14 23
|
||||||
2
bolhas/input/13
Normal file
2
bolhas/input/13
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
144
|
||||||
|
121 128 60 142 125 104 64 116 129 27 141 36 69 127 65 107 43 140 81 77 138 55 106 18 54 48 99 21 90 117 103 120 135 78 40 115 86 124 39 144 28 92 112 26 80 3 137 5 4 24 132 20 71 22 15 23 74 72 123 110 130 44 49 100 50 63 94 42 67 85 35 89 95 68 79 46 2 57 113 66 13 76 143 41 32 98 53 93 118 37 88 56 87 70 126 45 102 14 119 105 101 25 9 34 131 30 29 75 52 73 8 122 47 11 12 136 6 108 83 59 51 111 31 38 114 17 97 19 33 1 61 109 139 7 91 82 10 133 134 16 84 62 58 96
|
||||||
2
bolhas/input/14
Normal file
2
bolhas/input/14
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
165
|
||||||
|
151 95 142 127 20 13 18 72 154 70 120 158 115 113 89 55 98 44 114 26 91 161 12 42 15 118 106 134 138 45 101 103 147 82 79 35 141 73 39 155 8 128 131 46 50 52 99 11 146 63 93 57 38 80 64 150 97 160 31 48 58 85 109 152 130 148 62 129 75 121 157 3 56 153 10 16 86 68 126 110 71 145 49 24 43 116 92 90 159 27 1 132 149 96 65 7 54 33 22 87 60 40 111 34 17 133 37 25 108 47 59 100 9 156 76 104 53 19 83 107 88 117 29 112 137 163 28 139 81 51 66 32 23 164 78 14 119 162 143 4 165 69 135 102 136 6 122 21 61 124 41 140 144 67 77 105 5 123 125 94 84 2 36 74 30
|
||||||
2
bolhas/input/15
Normal file
2
bolhas/input/15
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
5
|
||||||
|
4 5 3 1 2
|
||||||
2
bolhas/input/16
Normal file
2
bolhas/input/16
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
341
|
||||||
|
282 297 213 317 256 262 156 322 91 240 258 18 279 81 123 65 154 203 19 119 248 329 324 132 305 273 341 275 166 206 108 334 205 264 125 335 280 338 176 3 159 234 171 222 200 118 31 189 49 24 90 224 193 201 209 95 301 181 182 134 278 87 147 312 250 232 72 117 277 244 276 309 11 239 216 155 48 339 137 174 214 142 163 161 235 289 231 204 237 311 326 70 190 293 292 104 149 291 321 208 51 64 67 21 299 298 47 127 68 15 303 33 160 169 183 99 26 260 227 173 135 167 318 242 22 331 185 138 197 103 249 115 56 7 4 199 168 219 12 241 101 145 5 151 1 319 78 226 340 196 17 274 186 109 9 124 314 36 52 323 105 332 288 325 188 236 61 302 230 121 89 243 84 106 284 133 107 62 229 28 271 220 172 228 210 122 140 170 218 175 55 80 252 304 296 60 180 290 126 20 263 191 246 139 211 221 195 328 187 88 120 286 42 32 146 158 46 25 38 268 251 253 128 130 23 225 269 164 75 102 192 162 37 27 50 77 41 39 29 315 111 93 217 8 215 6 53 259 308 73 83 254 44 272 307 34 265 43 148 202 113 327 97 143 198 179 58 94 82 71 261 69 131 96 316 238 245 266 13 74 35 285 98 40 110 267 283 30 270 306 255 153 257 114 207 247 66 157 336 45 233 281 144 184 152 76 57 2 112 178 177 330 129 141 116 300 287 333 14 194 165 16 92 150 313 212 54 310 85 136 86 337 320 223 59 295 63 294 79 100 10
|
||||||
2
bolhas/input/17
Normal file
2
bolhas/input/17
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
93
|
||||||
|
39 77 25 66 2 40 22 7 76 38 91 56 88 44 55 17 11 68 84 86 69 33 28 49 9 10 64 41 30 35 15 13 65 73 87 8 51 3 74 52 19 16 31 54 43 82 58 36 59 23 72 27 29 62 42 75 21 57 89 45 4 53 18 93 6 79 71 80 81 78 14 26 34 67 48 32 70 61 5 24 92 1 85 50 47 60 46 37 83 12 20 90 63
|
||||||
2
bolhas/input/18
Normal file
2
bolhas/input/18
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
325
|
||||||
|
150 311 272 97 252 305 68 84 6 133 218 144 36 114 91 157 171 324 165 288 169 253 214 318 192 27 134 176 261 164 38 206 289 283 204 10 146 156 138 48 4 44 67 50 224 197 39 128 291 3 42 262 66 46 102 41 79 152 213 98 19 65 216 17 12 81 300 16 116 286 21 131 158 47 230 160 309 236 74 9 226 61 274 24 266 307 321 241 187 184 249 279 86 234 182 208 106 181 255 269 250 256 105 273 315 145 323 143 210 189 308 72 95 259 92 174 254 54 312 119 96 13 203 26 151 270 159 212 117 77 18 303 69 49 20 129 178 290 297 5 188 155 101 125 63 60 177 183 89 293 193 199 207 243 287 248 93 257 235 149 185 23 82 163 316 8 154 62 244 28 310 22 313 1 58 190 227 168 137 127 90 107 73 220 281 276 43 322 108 285 121 104 162 231 245 277 153 135 139 209 299 201 103 15 147 239 267 265 298 229 111 94 109 2 260 14 59 112 232 294 223 264 45 251 325 191 186 282 141 118 11 237 278 142 167 240 222 275 115 292 87 33 30 140 263 31 179 306 194 198 75 80 70 238 258 132 99 120 172 205 122 196 319 302 268 301 113 166 34 52 217 180 219 170 130 295 202 71 225 246 304 247 215 148 55 110 88 233 64 126 124 317 57 136 7 284 200 211 314 123 29 51 221 320 242 56 35 78 32 175 83 85 280 228 40 76 195 37 296 53 271 161 100 173 25
|
||||||
2
bolhas/input/19
Normal file
2
bolhas/input/19
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
200
|
||||||
|
160 141 1 7 97 193 73 14 51 74 50 104 103 53 137 6 99 129 138 66 34 154 178 168 144 159 79 90 52 145 156 195 192 166 130 128 16 118 43 35 196 133 2 83 72 187 47 92 8 64 13 75 114 30 15 20 82 146 54 3 121 191 42 59 62 48 182 134 63 105 147 45 157 57 31 112 177 101 124 151 123 153 17 71 80 125 181 140 61 86 5 70 32 149 120 89 176 81 76 175 171 109 98 148 127 180 19 135 198 122 167 67 84 91 40 132 85 190 108 183 33 116 46 23 169 185 88 24 18 27 155 39 161 165 106 189 4 26 194 87 173 55 22 143 107 179 49 113 199 100 77 38 9 29 188 119 10 111 94 152 93 117 68 174 142 36 163 131 28 69 21 25 200 162 11 170 58 96 65 158 110 139 12 78 56 41 184 197 150 44 60 136 164 115 102 126 172 95 37 186
|
||||||
2
bolhas/input/2
Normal file
2
bolhas/input/2
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
5
|
||||||
|
5 1 3 4 2
|
||||||
2
bolhas/input/20
Normal file
2
bolhas/input/20
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
308
|
||||||
|
246 90 28 78 52 278 29 216 194 269 30 195 73 279 58 274 21 217 227 232 171 268 12 208 104 281 84 193 43 261 257 89 17 128 8 151 42 182 57 35 173 63 3 297 71 229 2 190 295 103 240 39 31 27 265 298 165 189 267 118 74 160 45 106 187 92 37 238 54 10 98 196 150 102 222 252 50 144 16 197 25 226 201 87 48 76 168 33 145 212 172 5 308 24 231 291 146 244 301 96 142 44 177 249 111 129 280 233 191 234 36 140 286 162 137 114 199 292 285 55 211 256 91 175 247 239 141 138 6 15 174 68 156 159 123 176 307 105 20 218 164 241 66 83 242 40 1 75 203 287 215 290 185 117 53 272 65 236 131 303 259 198 273 157 122 56 306 209 284 99 288 59 38 49 255 184 101 86 32 119 121 237 296 221 82 206 264 139 170 97 200 210 192 302 282 214 258 205 100 60 46 4 167 125 62 155 254 112 260 126 225 130 220 179 11 304 127 95 293 266 207 133 228 70 23 166 180 47 271 289 94 219 135 230 250 202 93 85 13 154 72 183 294 143 277 64 79 147 186 134 248 253 152 77 80 204 88 120 275 61 34 26 116 132 51 163 7 69 235 300 110 262 245 283 276 115 18 113 109 213 263 181 124 67 9 14 299 243 223 161 81 153 224 107 108 305 41 251 136 169 19 149 148 188 22 270 158 178
|
||||||
2
bolhas/input/21
Normal file
2
bolhas/input/21
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
40
|
||||||
|
9 30 40 33 14 21 34 27 25 31 3 20 26 2 1 8 11 10 12 5 23 13 22 35 19 24 36 16 38 32 39 18 6 28 29 37 15 7 4 17
|
||||||
2
bolhas/input/22
Normal file
2
bolhas/input/22
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
183
|
||||||
|
104 142 183 44 182 14 111 81 7 93 141 86 125 135 43 46 85 50 17 35 158 87 168 51 149 151 163 83 108 115 110 154 19 74 103 173 143 162 33 155 70 39 67 176 18 126 25 144 12 80 161 159 41 22 54 146 1 120 177 165 124 55 95 5 97 38 29 3 11 52 10 123 31 27 170 23 6 140 37 148 40 107 171 32 169 71 21 94 63 130 36 134 89 175 127 9 47 180 138 121 178 113 181 79 15 20 150 61 172 133 105 72 166 66 131 82 92 68 88 96 30 116 57 136 13 160 137 153 59 164 76 62 119 129 84 56 106 100 78 34 101 90 98 16 128 8 65 58 112 26 75 53 73 4 156 91 174 45 99 60 28 114 139 152 24 69 122 48 145 77 147 167 179 118 157 132 109 42 102 49 64 2 117
|
||||||
2
bolhas/input/23
Normal file
2
bolhas/input/23
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
205
|
||||||
|
14 166 168 186 163 57 197 55 185 205 7 113 94 63 125 102 29 66 187 195 89 84 33 73 136 156 31 143 188 42 184 79 32 72 179 203 17 124 15 19 86 104 175 140 83 5 146 142 158 25 35 2 26 53 70 50 74 22 200 54 13 192 165 144 100 85 147 201 95 193 78 105 88 36 202 199 174 141 9 77 111 138 181 159 92 21 51 194 41 52 177 91 64 107 27 28 98 108 90 182 75 76 137 37 110 198 109 39 6 4 164 114 116 103 56 129 134 121 24 189 127 155 135 131 145 117 160 161 112 153 81 58 82 93 118 101 80 16 106 3 87 119 204 30 65 68 97 60 191 157 172 71 11 167 176 151 183 8 162 46 178 122 173 47 149 148 130 180 170 126 62 34 99 69 48 38 123 150 10 96 133 154 44 190 61 59 40 196 23 169 120 20 12 67 128 152 1 139 115 49 171 43 45 18 132
|
||||||
2
bolhas/input/24
Normal file
2
bolhas/input/24
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
186
|
||||||
|
70 138 183 163 100 114 52 47 88 46 180 13 174 20 185 34 10 172 27 2 111 154 35 160 33 12 144 42 96 136 24 169 102 178 108 127 1 167 60 73 94 133 59 152 95 128 118 175 168 39 176 71 87 106 125 7 49 14 15 21 16 162 53 132 141 11 170 184 107 57 165 32 110 63 65 40 30 74 104 66 129 82 140 43 37 48 151 139 142 116 85 3 62 68 81 145 177 147 153 112 135 89 56 8 75 109 31 29 173 90 131 149 18 76 41 36 38 182 58 72 181 51 69 84 97 79 115 67 17 93 124 155 130 121 5 55 4 78 158 123 45 23 137 80 117 157 156 86 6 99 92 98 83 91 19 166 120 134 171 54 64 148 113 44 61 122 159 146 179 77 25 143 119 9 161 126 186 150 164 22 28 50 105 101 26 103
|
||||||
2
bolhas/input/25
Normal file
2
bolhas/input/25
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
452
|
||||||
|
11 97 36 40 89 376 222 128 389 153 302 96 423 24 345 269 335 399 407 316 18 135 265 408 431 22 436 438 168 115 359 312 56 365 207 224 46 375 353 23 159 30 186 410 383 101 31 9 195 231 221 308 444 198 171 360 411 184 395 295 285 288 44 94 414 429 78 347 193 388 418 83 70 428 242 416 34 349 100 27 211 233 39 403 382 392 129 266 355 82 141 239 328 95 273 110 180 366 338 381 276 443 361 274 139 264 201 421 12 238 244 336 140 68 225 452 148 214 157 93 131 351 120 315 161 447 209 258 415 297 434 187 98 417 109 256 232 118 117 114 396 294 357 372 237 247 205 192 363 251 304 103 255 204 53 149 74 143 162 144 419 65 5 29 3 197 321 173 405 147 63 350 77 90 104 341 435 122 384 10 390 240 243 166 334 322 75 26 325 248 59 188 299 286 1 88 111 47 293 160 45 189 156 324 43 42 102 320 412 200 215 318 91 121 67 441 413 176 208 21 217 8 175 352 268 442 158 69 4 210 380 342 17 298 199 58 430 164 391 219 218 130 280 20 311 13 354 401 155 331 72 332 437 92 48 182 170 281 250 339 174 427 137 282 292 49 358 277 194 326 203 32 267 172 60 235 123 259 112 2 126 440 15 337 333 16 300 439 278 450 385 402 329 301 227 310 84 6 327 226 62 343 202 50 330 52 249 246 179 136 261 426 394 397 348 106 73 374 196 216 279 113 167 346 369 152 393 422 151 260 254 99 132 313 80 257 386 306 317 163 33 377 220 14 404 138 145 287 124 420 370 367 206 154 449 57 245 272 165 76 119 446 81 371 356 289 191 64 379 398 290 213 37 108 400 241 291 35 54 41 28 86 283 169 314 66 177 303 305 133 236 229 263 190 424 38 344 319 296 142 340 183 87 433 25 134 230 445 234 387 51 105 432 178 212 55 271 284 364 406 150 409 79 373 19 127 378 309 270 85 71 448 368 262 107 125 253 451 146 307 252 362 116 7 323 223 275 425 185 61 181 228
|
||||||
2
bolhas/input/26
Normal file
2
bolhas/input/26
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
308
|
||||||
|
72 196 103 3 68 176 307 101 184 214 104 34 151 22 33 257 178 55 266 175 282 65 173 120 112 272 109 204 129 275 177 48 303 239 21 91 293 269 153 122 200 127 229 233 88 195 62 57 283 208 289 37 69 39 267 42 97 67 76 74 186 5 224 96 150 125 159 230 258 82 181 78 280 191 193 254 264 152 130 80 110 223 167 32 273 146 71 166 241 123 10 113 84 291 245 66 87 12 18 227 49 59 47 201 197 277 93 30 50 140 144 26 299 1 100 139 114 31 300 240 90 135 158 243 209 169 73 265 95 157 232 161 54 213 92 255 131 28 215 149 44 23 183 260 58 51 248 147 306 11 24 52 143 19 203 285 221 94 27 190 234 256 148 165 187 212 211 16 171 202 199 247 83 231 295 263 281 89 36 194 305 25 276 198 138 246 170 134 235 298 188 86 141 106 102 7 6 137 133 182 126 301 225 128 132 179 216 174 288 228 297 17 60 20 156 85 105 41 117 29 53 261 15 290 162 251 219 218 284 81 61 164 278 118 259 302 268 13 185 180 270 14 121 56 98 145 205 226 38 142 8 111 253 304 217 40 189 262 237 79 238 124 172 220 155 163 46 296 64 160 222 77 136 244 45 70 274 279 287 236 210 250 43 168 192 271 207 292 206 107 308 119 116 75 63 2 35 108 154 286 249 4 242 252 115 9 294 99
|
||||||
2
bolhas/input/27
Normal file
2
bolhas/input/27
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
37
|
||||||
|
14 12 21 10 25 23 22 27 11 7 29 19 20 32 1 8 28 2 4 31 3 15 33 5 13 34 26 37 17 18 16 36 35 24 9 6 30
|
||||||
2
bolhas/input/28
Normal file
2
bolhas/input/28
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
315
|
||||||
|
44 27 190 242 42 234 254 102 74 25 292 218 195 109 64 237 31 11 72 308 150 60 151 258 19 22 125 238 171 269 194 200 172 167 243 69 77 128 17 154 311 82 207 295 177 76 299 57 28 8 288 94 4 300 283 240 279 298 212 188 309 273 183 97 116 210 131 107 185 66 43 47 37 236 118 52 239 219 84 83 140 30 192 305 32 129 96 75 303 205 266 233 143 130 302 313 249 163 203 53 73 176 90 261 221 182 315 267 215 211 282 70 281 165 24 78 142 106 46 232 71 101 304 33 208 262 170 115 138 49 62 10 54 3 245 244 127 114 228 55 307 63 191 201 285 289 58 92 164 93 199 152 213 312 110 250 160 270 144 6 159 158 306 217 50 193 209 38 80 255 104 226 103 132 223 35 124 271 196 290 1 247 145 222 112 100 141 230 41 204 12 122 287 161 18 98 40 56 206 149 294 16 297 169 277 275 111 280 296 268 135 148 133 146 68 99 291 252 231 220 91 95 180 173 123 202 257 187 119 301 224 105 65 139 120 265 246 147 286 23 284 168 197 5 9 117 263 26 134 278 88 36 248 21 174 253 214 79 45 181 113 59 264 251 216 157 293 225 126 166 162 2 179 241 34 314 51 178 39 186 235 87 227 153 189 81 175 198 156 48 184 229 256 136 108 20 272 260 13 259 274 89 155 61 310 86 276 29 14 85 15 7 137 121 67
|
||||||
2
bolhas/input/29
Normal file
2
bolhas/input/29
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
493
|
||||||
|
96 21 489 296 105 234 197 171 195 340 274 235 28 471 52 6 456 484 46 313 67 83 386 152 75 271 355 212 87 327 241 435 467 470 308 483 54 293 376 273 194 294 433 248 1 189 11 172 455 228 180 71 164 424 431 314 150 227 231 208 166 349 114 233 74 211 49 219 392 149 282 177 268 359 260 473 460 120 292 88 48 205 216 27 346 85 353 404 324 77 247 134 191 330 53 403 384 438 8 57 183 185 80 362 174 151 142 90 310 125 266 15 204 19 463 279 136 123 264 232 7 245 278 102 396 306 425 321 398 469 309 394 443 89 345 315 108 39 82 35 307 110 218 270 40 326 117 395 458 146 17 369 37 416 331 99 289 86 181 300 188 381 457 251 405 320 490 135 286 316 127 291 106 98 47 10 156 249 488 285 4 137 126 284 68 32 288 104 379 477 351 141 420 190 65 387 198 145 223 459 339 311 360 153 173 383 23 269 365 201 167 374 226 224 283 368 72 454 116 170 263 59 94 312 45 258 492 476 277 357 58 69 73 432 429 112 372 421 335 447 334 400 229 169 14 338 367 412 342 358 336 44 318 168 207 24 440 61 179 439 478 33 265 154 143 299 426 97 428 2 139 347 481 131 343 290 242 119 305 491 237 214 337 186 391 160 408 155 60 25 382 113 210 140 78 475 38 377 462 243 427 148 103 468 31 474 175 20 64 485 422 115 333 124 62 287 213 200 5 453 341 236 56 486 450 26 472 275 399 256 34 111 413 220 410 437 162 442 280 430 50 390 407 95 252 409 295 43 366 354 76 267 230 370 411 118 18 165 41 401 42 255 303 84 406 193 158 257 393 91 317 202 192 446 157 479 302 121 199 196 445 122 81 466 414 163 36 217 225 244 272 436 178 30 388 319 364 51 418 250 100 419 465 449 322 29 12 147 138 176 344 297 373 184 261 133 361 328 206 417 482 221 402 380 254 441 298 222 70 461 66 487 385 415 79 22 262 55 493 238 132 304 203 451 240 325 107 397 448 246 363 13 63 101 259 161 434 452 16 239 332 389 209 9 215 444 301 480 128 423 356 3 159 93 187 329 350 276 352 253 375 144 281 378 348 371 109 129 323 464 92 130 182
|
||||||
2
bolhas/input/3
Normal file
2
bolhas/input/3
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
5
|
||||||
|
1 2 3 4 5
|
||||||
2
bolhas/input/30
Normal file
2
bolhas/input/30
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
431
|
||||||
|
67 388 151 63 80 329 340 26 116 292 8 19 349 313 315 265 125 131 96 297 37 306 333 361 198 233 205 391 117 101 10 320 20 129 345 28 105 128 56 179 49 322 404 380 425 148 402 211 244 227 376 186 429 275 126 241 89 206 174 162 104 424 68 274 1 365 285 390 417 276 269 9 170 222 270 346 48 93 238 267 185 44 71 220 278 218 395 46 311 78 123 23 182 65 34 163 73 400 159 69 3 245 154 114 328 207 317 246 169 406 290 119 393 133 289 399 232 36 4 60 42 226 398 85 134 45 216 381 135 39 33 240 353 331 277 122 190 109 414 90 364 301 310 374 40 94 77 286 355 145 431 252 208 25 214 309 35 6 191 184 271 291 137 401 251 304 295 389 2 419 375 284 230 428 95 100 423 293 120 287 106 411 302 165 234 57 408 189 360 242 319 382 394 59 243 161 397 76 229 358 7 410 168 200 387 422 254 112 173 272 384 155 247 396 110 27 143 296 172 87 118 38 66 268 91 150 11 75 47 140 385 97 58 351 392 141 22 344 377 373 318 368 339 166 362 176 280 357 260 212 248 102 124 403 321 386 312 347 61 51 372 55 149 99 12 342 263 338 213 363 29 158 52 231 307 250 258 298 31 14 197 356 181 348 196 153 261 81 103 192 107 178 379 421 54 199 188 239 152 257 253 195 418 350 146 209 219 183 156 108 228 15 86 416 305 412 288 426 115 138 142 236 92 204 430 98 235 371 203 255 202 341 334 324 72 262 201 32 415 62 30 147 378 136 370 299 17 427 221 316 294 332 336 74 177 405 279 259 366 41 323 225 359 237 256 50 264 283 88 53 171 367 303 249 343 130 337 83 266 24 167 82 330 79 210 420 326 157 18 160 354 121 5 352 300 224 111 314 43 193 21 308 70 407 409 217 180 13 325 64 132 187 383 215 327 194 139 175 335 84 281 144 369 127 164 282 223 16 273 413 113
|
||||||
2
bolhas/input/31
Normal file
2
bolhas/input/31
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
169
|
||||||
|
97 161 89 71 166 146 68 17 105 18 52 73 67 63 66 103 85 165 45 50 135 22 129 10 128 131 79 44 132 47 38 100 162 148 78 27 101 122 114 12 9 133 120 34 157 110 60 107 80 46 30 24 102 139 41 169 108 20 145 62 81 23 117 5 69 15 61 16 158 21 153 4 164 90 93 159 58 39 156 1 6 43 8 99 136 77 160 13 138 134 119 32 149 11 2 74 25 151 94 116 31 142 53 126 76 35 72 92 65 168 152 49 48 127 91 14 141 154 57 96 3 109 150 19 143 87 55 59 75 124 106 95 36 37 155 82 121 51 123 104 140 42 83 137 144 115 70 112 84 56 113 29 64 28 98 163 33 40 7 26 111 147 86 130 88 125 54 118 167
|
||||||
2
bolhas/input/32
Normal file
2
bolhas/input/32
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
444
|
||||||
|
355 100 88 352 276 11 256 388 14 182 368 115 125 375 288 225 70 293 133 53 96 257 155 195 95 302 229 367 25 381 99 350 212 320 305 38 434 372 395 335 307 246 226 116 18 250 317 265 122 432 71 154 60 290 308 205 393 337 247 306 310 428 426 193 206 56 416 238 143 194 208 160 411 118 407 103 409 228 135 132 35 7 148 279 249 30 297 5 164 431 316 439 187 6 255 85 336 4 67 58 243 424 130 190 3 32 235 418 34 162 167 223 341 158 152 364 415 24 427 280 199 437 309 318 311 278 374 331 277 17 73 440 399 79 419 192 282 119 102 353 362 40 101 81 209 254 330 150 344 43 284 41 390 111 165 383 186 87 214 169 348 112 300 48 126 31 10 213 351 222 268 412 189 178 270 62 109 408 66 202 349 377 239 176 97 400 37 72 423 184 286 313 191 52 197 82 123 261 429 264 443 159 49 397 127 59 200 234 253 315 391 172 117 275 221 384 92 219 382 287 444 389 218 19 376 361 146 29 26 84 291 65 273 340 251 156 20 153 177 263 171 369 267 63 433 405 83 163 354 161 401 188 233 413 107 211 89 51 406 136 50 106 170 147 149 272 245 404 231 386 296 104 371 338 436 39 396 13 366 27 8 333 21 93 57 298 370 258 262 105 414 168 134 78 314 319 328 74 360 425 36 394 201 144 64 227 47 304 128 55 420 292 210 145 285 430 151 357 61 387 157 321 289 232 346 44 248 137 216 12 120 180 365 230 204 342 9 237 329 435 380 23 77 113 16 252 45 323 334 69 139 141 442 281 299 185 312 22 303 441 90 347 108 15 363 301 215 392 240 356 379 224 129 359 241 2 322 422 91 421 327 343 373 54 68 175 402 28 294 269 332 385 295 140 326 398 198 181 271 324 86 325 174 220 173 166 403 42 94 142 217 75 196 345 378 124 131 259 358 121 410 260 244 203 183 98 114 274 266 236 1 339 417 76 207 242 33 46 80 179 438 283 138 110
|
||||||
2
bolhas/input/33
Normal file
2
bolhas/input/33
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
296
|
||||||
|
22 126 57 178 201 38 34 65 160 231 281 200 14 238 289 196 291 226 251 209 188 158 159 282 8 49 263 148 227 235 26 45 130 142 232 221 114 70 177 95 31 85 193 3 144 167 92 244 150 187 218 136 15 119 164 43 109 13 233 288 118 258 195 176 255 36 124 277 194 5 182 239 254 270 113 96 120 285 69 286 272 215 117 60 157 101 190 197 250 163 191 127 169 93 234 229 12 181 40 248 155 33 35 10 21 247 186 17 219 261 265 260 189 122 290 81 2 56 75 280 48 171 264 141 213 240 180 220 72 292 115 257 4 83 16 267 184 99 168 151 62 52 46 112 25 199 241 175 173 51 287 211 225 28 245 76 204 125 100 79 174 223 73 27 185 32 116 140 1 266 262 128 143 203 106 71 192 89 147 82 237 37 156 9 222 269 19 87 295 50 293 74 86 207 274 149 275 105 283 228 252 137 212 183 29 131 249 94 161 166 24 145 111 154 7 20 273 152 11 259 77 198 268 42 296 104 179 63 78 278 230 216 30 276 44 162 138 206 134 236 153 88 217 256 80 23 39 210 214 107 279 135 129 132 284 18 59 170 271 98 110 243 242 64 202 55 246 97 133 208 41 53 66 68 102 61 6 58 123 54 165 90 139 103 253 67 47 294 146 108 84 205 121 172 91 224
|
||||||
2
bolhas/input/34
Normal file
2
bolhas/input/34
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
263
|
||||||
|
228 38 200 79 152 68 174 60 19 24 97 84 53 163 248 71 45 210 230 22 104 164 61 98 186 226 139 11 233 211 112 216 206 180 231 27 116 75 110 96 184 148 64 157 243 25 4 88 197 91 239 171 29 251 80 10 190 140 31 51 74 44 218 188 81 150 257 253 221 9 252 85 120 124 107 70 259 52 62 15 176 136 93 111 191 134 65 260 115 126 194 217 57 234 50 87 225 132 83 208 142 23 66 99 123 246 137 40 212 240 128 16 56 192 222 12 43 168 69 37 146 262 249 263 72 205 8 55 33 100 77 254 201 229 195 151 235 214 261 153 2 167 242 215 198 39 196 238 3 232 121 118 199 247 114 108 59 42 106 181 155 183 35 48 47 125 34 187 156 177 46 165 58 30 103 158 207 63 241 67 161 113 160 159 204 135 95 256 5 105 244 101 131 32 89 82 144 26 182 130 185 223 117 258 127 179 49 147 166 13 1 78 172 86 250 18 255 169 193 94 154 17 90 209 119 20 149 145 170 21 7 76 227 236 141 220 133 36 122 41 237 203 92 175 102 73 213 202 109 28 54 189 219 224 143 178 129 162 14 138 245 6 173
|
||||||
2
bolhas/input/35
Normal file
2
bolhas/input/35
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
81
|
||||||
|
80 52 57 33 32 31 65 46 41 13 16 56 17 5 6 75 27 72 51 37 11 66 64 14 67 19 21 45 53 29 73 24 43 36 28 40 20 42 61 23 62 12 38 1 71 78 76 2 74 3 54 68 22 81 44 63 69 9 59 55 35 50 58 18 70 79 26 7 49 8 60 30 34 25 77 10 47 39 4 15 48
|
||||||
2
bolhas/input/36
Normal file
2
bolhas/input/36
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
414
|
||||||
|
197 286 376 101 350 66 184 293 51 74 132 279 408 269 383 231 127 186 63 87 330 173 307 3 146 237 297 377 56 191 248 116 375 42 65 144 407 304 44 164 10 123 249 90 400 371 309 117 32 310 108 393 81 59 135 385 24 392 73 58 14 403 106 96 185 242 138 221 389 7 258 373 206 401 265 20 315 120 95 203 326 332 98 165 232 311 159 346 284 115 398 53 369 169 380 303 34 152 45 147 220 114 190 259 150 75 301 17 214 341 260 287 328 381 140 166 13 213 43 55 105 411 161 219 183 60 155 182 263 4 209 78 394 348 241 84 131 343 122 404 128 171 239 50 342 349 9 275 22 366 255 321 273 283 412 289 119 157 372 82 154 414 113 37 143 48 167 379 235 39 218 177 319 333 305 251 358 302 245 211 170 52 396 204 374 61 168 91 121 336 79 145 176 8 402 271 362 180 85 129 97 391 296 93 353 229 344 178 288 103 26 291 133 151 109 2 405 246 276 12 181 198 139 175 80 338 352 339 314 111 217 16 216 77 15 266 290 195 225 99 285 367 327 125 28 399 67 68 224 234 397 71 312 274 323 386 142 294 363 57 298 6 207 179 27 215 356 222 277 351 11 331 134 54 347 1 41 272 340 360 250 413 390 322 35 70 406 357 194 387 47 40 62 335 21 189 227 141 409 162 308 89 300 187 5 223 325 226 240 199 270 254 230 299 49 243 136 188 193 202 46 149 38 244 324 267 25 212 205 200 317 334 163 19 148 365 156 282 69 86 253 306 192 364 172 110 33 316 256 210 388 76 18 102 262 174 72 295 201 88 36 92 361 354 257 359 278 320 247 112 29 318 228 280 100 337 126 313 382 137 252 345 268 410 94 264 208 23 292 233 160 118 107 355 395 378 261 153 329 158 30 238 104 130 196 368 64 370 236 31 83 124 281 384
|
||||||
2
bolhas/input/37
Normal file
2
bolhas/input/37
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
18
|
||||||
|
2 13 16 4 8 18 17 12 11 10 9 5 6 15 1 14 7 3
|
||||||
2
bolhas/input/38
Normal file
2
bolhas/input/38
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
212
|
||||||
|
93 204 195 58 179 51 42 34 134 30 176 202 106 35 94 185 130 12 141 41 126 209 19 70 156 63 143 18 9 110 86 118 67 11 27 107 38 148 129 29 181 158 207 133 39 69 84 90 205 73 177 31 208 5 44 64 46 14 66 77 108 71 65 149 53 26 23 82 80 68 145 125 124 212 36 196 10 98 188 13 76 92 132 22 28 50 122 33 2 75 151 8 199 95 150 16 160 155 60 105 127 74 89 79 20 135 211 174 15 154 111 186 190 210 152 7 6 81 24 138 91 123 193 115 45 102 104 203 88 99 49 175 109 61 201 198 153 170 137 163 144 121 161 48 112 162 200 189 55 136 37 159 3 172 167 197 139 83 113 131 32 43 72 194 178 146 140 116 78 25 166 47 157 62 119 4 206 128 54 21 182 1 17 56 168 169 184 120 180 165 103 171 191 59 57 173 164 183 87 101 85 96 192 97 187 114 40 117 142 52 100 147
|
||||||
2
bolhas/input/39
Normal file
2
bolhas/input/39
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/4
Normal file
2
bolhas/input/4
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
10
|
||||||
|
2 1 4 3 6 5 8 7 10 9
|
||||||
2
bolhas/input/40
Normal file
2
bolhas/input/40
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/41
Normal file
2
bolhas/input/41
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/42
Normal file
2
bolhas/input/42
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/43
Normal file
2
bolhas/input/43
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/44
Normal file
2
bolhas/input/44
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/45
Normal file
2
bolhas/input/45
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/46
Normal file
2
bolhas/input/46
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/47
Normal file
2
bolhas/input/47
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/48
Normal file
2
bolhas/input/48
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/49
Normal file
2
bolhas/input/49
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/5
Normal file
2
bolhas/input/5
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
10
|
||||||
|
10 1 8 3 6 5 4 7 2 9
|
||||||
2
bolhas/input/50
Normal file
2
bolhas/input/50
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/51
Normal file
2
bolhas/input/51
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/52
Normal file
2
bolhas/input/52
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
901
|
||||||
|
520 296 463 500 386 553 492 305 330 844 152 357 584 532 717 50 448 811 646 83 420 763 136 462 293 560 666 58 295 28 628 621 143 16 302 243 38 793 336 571 230 609 413 37 866 358 251 781 539 667 901 878 396 24 695 390 163 36 179 636 865 455 227 219 22 607 432 638 43 161 518 850 590 529 40 371 701 655 126 20 615 681 657 575 206 450 159 751 114 536 333 236 716 395 825 203 643 110 376 680 894 660 549 524 177 247 843 778 453 436 331 156 459 736 35 543 181 872 521 568 864 300 722 133 162 711 452 297 122 435 394 347 64 11 591 456 66 682 814 791 224 3 644 849 313 585 613 323 76 771 262 798 223 487 782 679 282 316 650 380 88 374 308 419 645 855 377 884 271 497 189 813 519 565 314 249 823 775 140 41 175 95 232 523 186 772 858 431 616 548 451 19 372 804 9 460 304 354 439 109 57 562 328 325 239 662 508 342 68 473 537 211 310 212 77 107 423 218 78 151 600 244 897 552 836 320 728 275 510 842 863 366 229 426 118 167 278 511 551 710 45 573 625 587 854 818 335 688 131 738 779 62 31 173 561 399 659 199 447 193 138 168 674 148 550 545 482 401 174 160 201 93 694 689 899 242 827 509 318 18 466 874 434 375 578 885 55 869 589 112 312 792 684 384 896 228 389 233 702 586 755 130 101 831 145 204 484 309 741 461 198 730 442 157 196 197 344 123 498 467 541 127 712 65 153 767 765 120 7 746 848 594 29 214 480 588 707 352 317 807 799 802 888 637 49 287 137 94 617 414 234 729 468 840 2 557 481 812 478 595 91 200 610 349 360 603 670 596 692 834 750 676 641 640 887 465 704 675 397 220 861 85 882 797 556 27 747 608 332 256 326 475 651 54 691 345 311 877 392 856 373 622 34 70 744 59 593 515 576 859 664 60 351 785 833 74 270 761 669 393 612 82 819 21 430 737 355 187 488 805 723 577 170 633 601 365 784 263 89 592 454 678 661 795 446 857 760 566 23 48 253 103 47 185 231 569 685 238 528 634 117 801 671 205 346 705 546 428 892 757 51 285 340 758 777 119 188 598 770 12 391 115 893 817 288 412 291 505 880 411 182 574 790 269 853 816 832 102 796 862 780 749 276 319 642 742 789 837 217 835 828 683 73 30 579 883 580 677 719 245 172 653 756 10 273 440 614 652 306 619 654 567 714 298 337 879 599 708 504 602 240 72 75 665 280 732 215 53 870 647 620 4 209 402 803 260 369 639 183 443 558 794 696 46 486 303 100 56 363 294 279 502 867 886 559 387 258 99 507 146 673 80 400 166 847 706 246 754 499 129 496 815 786 225 370 322 581 788 237 764 851 315 697 582 776 281 290 458 725 733 635 90 226 668 472 808 158 97 221 554 250 364 113 241 809 165 125 438 361 759 261 383 830 631 743 106 307 470 535 753 563 658 104 445 752 875 490 839 150 522 538 343 489 471 766 350 144 348 139 267 464 769 605 606 341 379 626 512 191 868 513 424 477 700 398 216 491 207 527 687 629 155 734 699 873 362 353 531 268 690 846 124 13 388 806 693 525 713 213 255 235 721 406 1 845 768 284 339 583 5 890 421 773 417 301 254 506 180 718 327 404 321 483 164 611 474 248 121 105 132 860 630 69 533 787 739 415 624 382 425 14 555 408 597 266 286 648 407 154 821 265 871 67 745 176 277 410 604 15 826 25 149 686 289 735 824 895 32 514 381 356 96 378 299 433 649 501 208 334 881 731 98 17 762 292 329 740 829 184 52 192 437 457 44 367 503 33 87 526 418 210 618 42 108 403 259 838 171 142 703 195 429 822 134 672 783 84 86 178 147 656 257 547 900 6 63 385 116 359 570 252 444 852 820 889 572 111 517 283 141 774 891 800 135 476 194 540 405 715 724 272 748 876 441 494 92 202 338 81 39 898 26 469 564 841 368 324 422 632 623 542 663 720 709 222 416 544 479 128 61 810 449 493 627 274 534 530 427 516 79 726 264 169 495 71 727 190 485 409 698 8
|
||||||
2
bolhas/input/53
Normal file
2
bolhas/input/53
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/54
Normal file
2
bolhas/input/54
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/55
Normal file
2
bolhas/input/55
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
301
|
||||||
|
107 6 103 40 274 2 277 31 56 289 119 281 213 167 41 282 141 68 223 254 32 246 133 196 145 300 124 160 1 52 173 299 48 271 59 293 51 270 121 172 216 275 111 241 58 69 164 284 19 199 55 27 257 82 215 244 79 115 233 182 255 144 106 159 91 8 92 162 276 101 137 251 147 113 63 10 57 202 191 61 285 5 70 104 203 174 34 36 142 181 207 99 256 152 236 33 85 250 288 268 225 110 169 109 214 239 146 166 53 249 211 279 217 153 30 189 13 139 201 150 81 260 23 15 177 131 278 125 179 212 175 134 122 245 280 73 263 140 7 60 267 4 238 20 234 156 240 261 258 71 24 235 243 195 161 80 47 22 185 151 210 206 75 143 50 265 76 291 138 45 25 78 190 269 183 209 154 29 16 194 287 155 227 171 157 231 184 186 120 226 42 178 37 93 136 220 35 188 149 77 170 64 46 148 49 294 74 187 197 21 222 123 84 264 247 297 90 165 105 67 129 218 66 96 135 43 292 11 127 158 87 114 12 228 163 97 116 44 128 273 89 3 229 200 65 259 26 54 296 219 95 72 237 126 130 295 252 38 168 17 132 266 253 39 88 224 193 262 118 283 18 176 192 98 248 14 198 100 86 221 290 230 117 94 242 286 62 112 232 9 108 204 272 83 180 301 208 102 205 298 28
|
||||||
2
bolhas/input/56
Normal file
2
bolhas/input/56
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/57
Normal file
2
bolhas/input/57
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/58
Normal file
2
bolhas/input/58
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/59
Normal file
2
bolhas/input/59
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/6
Normal file
2
bolhas/input/6
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
474
|
||||||
|
201 16 410 37 206 24 13 213 376 44 361 99 185 274 245 146 444 326 81 127 26 11 296 453 267 220 121 55 12 363 323 417 281 49 159 46 95 176 113 369 59 224 202 65 125 187 67 397 214 359 273 2 269 440 445 442 458 182 116 180 288 414 259 253 23 351 118 362 373 290 292 222 199 62 346 433 193 124 275 240 66 260 171 310 191 305 381 249 408 153 10 460 294 173 226 293 423 385 117 9 415 424 342 194 82 300 195 459 57 303 430 186 403 265 246 364 219 313 427 93 105 406 7 344 321 474 434 48 356 92 196 283 188 472 181 22 270 354 35 345 464 347 285 97 261 291 393 402 451 306 126 337 467 156 73 5 32 165 231 343 425 391 298 239 394 189 104 448 247 80 325 468 228 6 366 25 426 396 330 395 441 278 301 148 100 45 103 51 169 360 70 63 205 241 307 456 20 287 262 184 314 229 129 340 86 88 377 17 152 50 107 328 405 119 382 299 244 123 137 416 27 85 384 436 276 52 166 158 243 72 217 42 388 429 248 110 216 387 39 150 178 333 53 140 251 183 339 311 457 264 58 401 112 170 335 257 230 68 332 446 79 368 142 31 130 69 111 106 168 200 334 461 284 75 94 149 133 370 98 135 353 277 469 447 91 420 242 174 235 422 371 437 215 162 302 177 33 221 71 399 418 352 322 41 374 120 96 266 102 4 357 279 3 238 438 87 329 211 327 139 114 155 411 324 379 234 61 463 268 319 208 419 272 289 375 432 331 1 250 297 341 380 38 207 77 338 136 172 315 233 471 154 56 190 143 8 101 282 317 141 286 144 218 390 14 386 21 237 383 367 47 197 407 449 109 439 428 131 147 466 108 54 15 258 34 349 462 400 365 40 316 161 271 473 83 389 18 452 465 74 164 76 134 212 312 318 254 204 252 443 225 89 348 372 145 122 421 227 435 132 336 223 263 157 36 232 454 413 256 255 398 304 412 309 210 78 138 163 378 404 43 28 295 280 29 60 160 151 358 320 192 409 392 30 128 450 203 179 175 115 198 431 64 470 455 236 84 308 355 209 167 350 90 19
|
||||||
2
bolhas/input/60
Normal file
2
bolhas/input/60
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/61
Normal file
2
bolhas/input/61
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/62
Normal file
2
bolhas/input/62
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/63
Normal file
2
bolhas/input/63
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/64
Normal file
2
bolhas/input/64
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/65
Normal file
2
bolhas/input/65
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/66
Normal file
2
bolhas/input/66
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/67
Normal file
2
bolhas/input/67
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/68
Normal file
2
bolhas/input/68
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/69
Normal file
2
bolhas/input/69
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/7
Normal file
2
bolhas/input/7
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
12
|
||||||
|
7 3 9 1 10 8 11 5 12 4 2 6
|
||||||
2
bolhas/input/70
Normal file
2
bolhas/input/70
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/71
Normal file
2
bolhas/input/71
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/72
Normal file
2
bolhas/input/72
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/73
Normal file
2
bolhas/input/73
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/74
Normal file
2
bolhas/input/74
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/75
Normal file
2
bolhas/input/75
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/76
Normal file
2
bolhas/input/76
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/77
Normal file
2
bolhas/input/77
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/78
Normal file
2
bolhas/input/78
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/79
Normal file
2
bolhas/input/79
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/8
Normal file
2
bolhas/input/8
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
206
|
||||||
|
201 90 121 105 89 39 63 180 189 26 193 158 94 51 202 45 137 156 106 171 136 22 37 44 197 87 59 68 50 83 164 160 126 1 58 151 32 8 100 196 198 177 10 67 112 168 185 11 47 48 186 167 91 116 108 152 86 40 199 80 33 28 110 140 23 130 12 200 111 78 129 27 173 132 20 109 107 147 31 157 165 52 15 92 25 133 54 181 131 18 21 155 128 62 4 117 64 206 150 71 135 104 57 148 102 204 166 56 120 170 184 138 72 175 9 19 144 113 191 79 162 34 82 2 174 141 99 192 36 74 43 205 122 96 182 154 81 195 77 159 127 66 13 203 179 69 146 123 124 187 7 42 17 65 139 142 55 145 134 61 153 73 14 169 143 46 118 24 161 95 183 97 6 149 3 60 93 176 163 98 88 115 16 35 38 5 178 84 30 125 194 53 190 76 49 29 41 103 101 188 119 75 70 172 85 114
|
||||||
2
bolhas/input/80
Normal file
2
bolhas/input/80
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/81
Normal file
2
bolhas/input/81
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/82
Normal file
2
bolhas/input/82
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/83
Normal file
2
bolhas/input/83
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/84
Normal file
2
bolhas/input/84
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/85
Normal file
2
bolhas/input/85
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/86
Normal file
2
bolhas/input/86
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/87
Normal file
2
bolhas/input/87
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/88
Normal file
2
bolhas/input/88
Normal file
File diff suppressed because one or more lines are too long
2
bolhas/input/89
Normal file
2
bolhas/input/89
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
891
|
||||||
|
304 425 292 379 117 882 657 363 284 131 592 80 141 70 778 801 576 112 870 365 590 653 640 133 742 343 20 27 82 255 34 844 756 216 28 62 710 280 438 824 637 435 76 279 33 636 397 86 54 250 332 30 179 643 212 565 575 728 681 507 609 725 776 773 49 184 883 231 797 496 287 413 553 780 368 885 839 762 702 774 7 302 749 764 530 670 699 841 714 513 389 220 723 551 829 509 261 455 206 768 533 668 815 191 197 306 266 644 856 48 417 142 325 831 199 90 497 226 349 793 717 157 227 158 822 848 736 813 274 98 283 561 201 510 31 146 6 711 380 35 451 367 36 737 322 273 622 321 795 19 846 605 208 785 196 218 156 181 109 830 464 536 715 68 394 278 267 614 457 720 437 382 207 1 706 111 60 318 52 110 639 683 246 406 511 820 272 224 225 753 520 786 221 634 531 806 155 79 579 560 320 581 446 673 130 126 71 522 472 627 295 545 811 541 72 326 353 886 354 165 589 594 66 303 412 331 214 55 147 124 684 471 407 832 243 245 59 128 523 738 688 399 69 467 24 624 598 286 482 253 384 209 854 269 41 393 83 18 884 11 621 215 629 444 298 862 144 175 348 67 808 571 426 47 535 143 517 194 674 409 660 402 103 26 121 696 483 527 94 845 655 847 335 619 628 887 538 794 611 453 879 40 106 105 431 821 419 787 552 666 802 805 305 470 833 254 837 136 440 329 709 713 491 256 276 518 498 871 481 881 484 814 596 570 405 129 853 525 704 772 784 891 615 550 597 101 747 51 791 411 796 588 823 534 649 160 827 252 492 78 859 81 524 716 506 293 485 290 719 74 173 652 646 727 700 378 338 236 376 434 313 65 693 487 222 556 258 223 392 441 488 421 64 424 504 724 350 788 248 21 182 658 148 828 16 505 150 563 385 152 610 319 651 686 779 346 603 172 777 228 14 3 703 396 474 755 190 671 189 42 478 309 460 694 757 532 587 388 572 748 428 285 289 676 630 277 792 327 159 77 58 377 502 149 537 508 866 422 333 665 809 790 139 638 328 398 880 499 294 760 503 314 366 601 25 232 100 436 687 741 116 667 200 489 543 210 161 203 698 591 344 599 648 219 869 567 447 168 697 799 185 381 84 555 356 836 685 501 339 341 770 387 23 312 476 45 257 454 12 29 549 57 8 812 297 259 631 22 262 195 113 889 654 180 114 463 528 170 355 118 89 37 469 803 198 730 612 754 202 433 852 783 767 617 663 656 452 120 593 568 751 178 85 163 461 573 371 825 73 850 475 251 44 249 734 260 521 423 87 659 123 800 566 775 372 515 336 613 43 176 164 217 359 268 739 691 635 403 689 134 548 574 362 153 661 374 867 127 877 677 97 330 38 826 193 4 618 125 872 265 781 337 876 138 308 241 817 186 641 235 838 192 383 840 620 323 678 692 584 427 606 395 766 439 758 15 75 562 448 807 466 275 645 154 559 375 544 445 888 745 873 91 878 242 162 468 456 390 729 360 99 890 761 722 317 765 477 145 316 167 449 863 188 632 712 735 798 183 554 582 247 174 608 479 818 347 137 229 557 115 233 108 119 107 404 205 662 104 230 53 415 782 701 204 650 340 237 429 682 358 695 311 56 420 633 705 13 288 672 519 623 211 391 9 789 300 546 96 239 542 177 679 690 732 540 171 264 512 564 301 63 514 664 539 864 357 547 370 569 238 39 857 819 342 93 855 516 726 432 583 418 263 122 473 625 443 46 430 490 759 675 244 234 744 860 373 240 604 151 88 410 364 132 595 140 299 5 213 680 763 718 577 400 459 334 2 810 462 607 580 369 616 92 495 861 875 450 874 858 865 10 835 95 458 669 270 102 296 135 345 442 408 169 307 707 500 743 585 271 769 771 642 401 32 324 733 414 529 752 626 750 352 494 17 187 647 804 843 351 721 386 849 291 493 465 602 361 578 526 740 868 842 708 50 282 281 315 166 731 558 61 416 586 600 746 851 834 310 480 816 486
|
||||||
2
bolhas/input/9
Normal file
2
bolhas/input/9
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
305
|
||||||
|
192 210 233 24 236 209 137 90 8 231 227 268 234 164 272 222 13 213 69 288 114 195 156 180 186 178 112 265 100 198 63 108 88 292 241 249 305 120 243 96 155 89 282 152 47 35 158 217 116 221 230 62 46 134 79 277 139 105 92 212 60 240 36 223 159 20 29 294 200 78 37 25 162 135 122 22 191 163 74 273 242 15 131 6 121 161 30 43 251 65 182 145 215 203 235 31 208 171 229 245 113 302 238 99 94 201 185 59 124 70 179 140 115 293 244 154 26 190 119 260 173 38 168 141 216 9 51 97 218 104 280 57 125 205 296 291 132 64 206 123 101 86 263 3 284 202 106 17 283 33 12 295 300 257 126 44 129 175 193 301 85 220 256 270 278 80 194 148 71 98 150 2 281 166 271 276 167 228 128 290 127 83 55 153 262 259 75 224 93 76 264 130 181 21 10 23 56 18 110 188 40 147 133 258 1 28 73 237 253 250 255 67 267 138 248 165 261 174 299 297 107 187 41 102 7 211 269 111 87 207 32 169 219 53 48 199 183 117 45 146 239 16 39 149 27 5 232 225 287 226 136 252 196 143 34 275 61 176 66 52 68 254 95 160 4 279 109 177 189 84 49 14 246 157 266 142 214 91 103 144 54 81 197 289 285 42 204 50 172 274 184 170 247 11 151 77 304 19 118 72 286 58 298 303 82
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user