Codeforces Round #404. Editorial.

Revision en2, by gepardo, 2017-03-15 21:53:33

This is an editorial for the problems of the today's contest. I tried my best to describe the solutions for the problems as detailed as possible, but if something is not understandable for you, you can write in comments! :)

785A - Anton and Polyhedrons

Hint
Tutorial
C++ code
Java code
Python code

785B - Anton and Classes

Hint
Tutorial
C++ code
Java code
Python code

785C - Anton and Fairy Tale

This problem had weak pretests. It was made intentionally to cause more hacks. And I have warned you about it in the announcement :)

Hint
Tutorial
C++ code
Java code
Python code

785D - Anton and School - 2

Hint
Tutorial
C++ code
Java code

785E - Anton and Permutation

I'm sorry that this problem was not original. I will try my best to prevent this from happening again.

If you have TL or ML in this problem, don't think that the time/memory limits are too strict. The model solution works in 1.2 seconds and consumes 9 MB memory.

Hint
Tutorial
C++ code
Java code

Alternative solution from Vladik:

C++ code

Alternative solution from netman:

Java code
Tags editorial, anton, 404, contest, hits, tag not found

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English gepardo 2017-03-15 21:53:33 33905
ru3 Russian gepardo 2017-03-15 21:37:48 33919
en1 English gepardo 2017-03-15 20:44:17 112 Initial revision for English translation (published)
ru2 Russian gepardo 2017-03-15 20:43:09 30 Мелкая правка: 'ибка 404\n==================\nРазбор н' -> 'ибка 404\n----------\n\nРазбор н'
ru1 Russian gepardo 2017-03-15 20:41:48 113 Первая редакция (сохранено в черновиках)