Блог пользователя k1r1t0

Автор k1r1t0, история, 15 месяцев назад, По-английски

Thanks you for participating in TheForces Round #4! Here is the editorial:

Problem A
Problem B
Problem C
Problem D
Problem E
Problem F
Problem G
  • Проголосовать: нравится
  • +50
  • Проголосовать: не нравится

»
15 месяцев назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

Please add the following test to this problem [problem:422264C — 10] as it will cause TLE to this solution [submission:189568443]

int n = 1e5, num = 1e9;
cout << n << "\n";
for (int i = 0; i < n; i++)
    cout << num-- << " ";
»
15 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Interesting contest, quite educational and meaningful for beginners.

But D may be too easy for its place, it's a traditional maths problem which is far more easier than C.

  • »
    »
    15 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Thanks for your opinion, Actually we know it's easy, But many people couldn't come up with the easy solution during the round (if you see standings) Also some of our testers couldn't come up during testing too, So we decided to put it at position D.

»
15 месяцев назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

in editorial Code of Problem F gives TLE on test 2.