arthur_9548's blog

By arthur_9548, 6 months ago, In English

We hope everyone enjoyed the problems of VII UnBalloon Contest Mirror! This editorial contains the description of the solutions and their implementation. Feel free to discuss them in the comments!

Problem A

Solution
Code

Problem B

Solution
Code

Problem C

Solution
Code

Problem D

Solution
Code

Problem E

Solution
Code

Problem F

Solution
Code

Problem G

Solution
Code

Problem H

Solution
Code

Problem I

Solution
Code

Problem J

Solution
Code

Problem K

Solution
Code

Problem L

Solution
Code

Problem M

Solution
Code

Problem N

Solution
Code
  • Vote: I like it
  • +23
  • Vote: I do not like it

»
6 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

parabéns pela prova, galera. arrasaram demais! :)

»
6 months ago, hide # |
 
Vote: I like it +7 Vote: I do not like it

felipe_massa june16th joaoc calebmartim que tal assim, a gente pode ir no RU todos os dias da semana, menos os múltiplos de 2, 3 e 5

»
6 months ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

nice and fast editorial

»
6 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

excelente prova e muito divertida!

»
6 months ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

ótima prova!!!

»
5 months ago, hide # |
← Rev. 2  
Vote: I like it 0 Vote: I do not like it

Your code in problem F is wrong. It is failing on the case:

3
2 3 2

It is clear that choosing the last one element and the last two elements are both valid choices. But your code is giving $$$0$$$.