SmallForces Monthly Contest #2 Editorial

Revision en7, by Vasu_, 2023-05-25 09:17:32

Thank you very much for participating in our first contest. Please share your reviews in comments. We will continuously bring these type of contests for you.

Don't forget to upsolve these questions.

Here are our top-5 performers:

Top-5 Performers

We would also like to mention first solver of every problem:

First Solver

Here are solutions with explanations:

A.

Editorial
Code

C. Maximize the cost

Editorial
Code

D. Will you use operation?

Editorial
Code

F. Help the Mayor

Editorial
Code

G. Are you good at counting?

Editorial
Code

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en17 English Jalppatel1428 2023-05-25 12:49:37 107
en16 English Jalppatel1428 2023-05-25 12:43:34 0 (published)
en15 English Jalppatel1428 2023-05-25 12:42:57 28 Tiny change: 'll output 0.\n</spoil' -> 'll output $0$.\n</spoil'
en14 English Jalppatel1428 2023-05-25 12:37:22 2 Tiny change: 'answer by 1 and while' -> 'answer by $1$ and while'
en13 English naisheelpatel 2023-05-25 12:16:55 8
en12 English naisheelpatel 2023-05-25 12:13:19 1838
en11 English Vasu_ 2023-05-25 09:43:19 11
en10 English Vasu_ 2023-05-25 09:39:35 5 Tiny change: 'or, so we traverse ' -> 'or, so we will traverse '
en9 English Vasu_ 2023-05-25 09:37:32 1782 Tiny change: '_max[j-1] &mdash; A[j]) * suffix_ma' -> '_max[j-1] $-$ A[j]) $\times$ suffix_ma'
en8 English Vasu_ 2023-05-25 09:20:55 18
en7 English Vasu_ 2023-05-25 09:17:32 1402
en6 English Vasu_ 2023-05-25 09:14:21 1715
en5 English Jalppatel1428 2023-05-24 14:25:38 6206 Tiny change: 'sequence $S_{pre}U_1OU_2S_{suf}$, where $' -> 'sequence $...U_1OU_2...$, where $'
en4 English Vasu_ 2023-05-24 09:18:21 18 Tiny change: 'solver of questions:\n\n<spoi' -> 'solver of every problem:\n\n<spoi'
en3 English Vasu_ 2023-05-24 09:17:35 311
en2 English Vasu_ 2023-05-24 09:07:57 2
en1 English Jalppatel1428 2023-05-24 06:45:11 2242 Initial revision (saved to drafts)