When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

stefdasca's blog

By stefdasca, history, 4 years ago, In English

Hi!

Since the editorial will be posted later, I decided to write some quick solutions for the problems I managed to solve, as well as video editorials for C and F.

A - Little Artem
B - Kind Anton
C - Eugene and an array
D - Challenges in school №41
F - Kate and imperfection
  • Vote: I like it
  • +50
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it +6 Vote: I do not like it

Nice solution for F. Thanks.

»
4 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Can someone help? this is my solution to B.75967933 I don't understand where I made mistake. I have tried to solve it in less than O(n).