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

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

Hello codeforces community!

I am happy to invite you to participate in the Aleppo Collegiate Programming Contest 2023 V.2 (V.2 because the first version of the contest was dismissed, so this is version 2) that was held at Damascus University on [contest_time:459931]. The online training will be on codeforces gyms and will start on Aug/29/2023 14:00 (Moscow time).

Thanks to Kaitokid, AboAbdoMC, Mahmoud_Haddad, Obada_Saleh, Mohanad_Nahhal, YazanAlattar, A.D., Helal_Salloum, Wael_Mchantaf and radi__07 for creating and preparing the contest. Special thanks to Majedh and Anas_Da who did most of the work.

Thanks to Baraa_Armoush and HeMoo for their contribution and constructive feedback.

Thanks to Vectors_Master, TripleM5da, IsaacMoris, BabaVoss, Abdelrahman_Etman, LastDance_NotLastOfMe and Assem_albitar for solo testing.

Thanks to the team testers:

Thanks to Damascus University for hosting the onsite contest.

Thanks to polygon for providing the amazing platform for creating and preparing the problems, and to codeforces for the hosting of the online training.

I hope you enjoy solving the problems. Any feedback will be appreciated.

  • Проголосовать: нравится
  • +94
  • Проголосовать: не нравится

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

As a tester, I'd like to say that naseem makes some good matcha.

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

As a tester , I think I deserve some contribution LOL

»
12 месяцев назад, # |
Rev. 2   Проголосовать: нравится +31 Проголосовать: не нравится

As a problem setter

Naseem is the greatest chief judge I've ever seen

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

Excited for this round. It is expected that this round will be enjoyable :)

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

As a tester, I can say that the authors did a great job on this contest with all the interesting problems.

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

Thanks, you are the best

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

Lk 3ashhh <3

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

Thanks to everyone who contributed to this

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

Thanks for the nice problem ideas and strong testing :)

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

As a tester , I'd like to say I'm so proud of you Naseem17

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

is it team contest?

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

Are the problems provided in English?

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

Editorial?

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

    which problem do you need ?

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

      want G and M

      • »
        »
        »
        »
        11 месяцев назад, # ^ |
        Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится
        Editorial For G :
        Code
»
12 месяцев назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

As a tester I am too late to write comment.

»
10 месяцев назад, # |
Rev. 4   Проголосовать: нравится 0 Проголосовать: не нравится

How do you solve Problem I?

This is my code, and I can't figure out what's wrong with it (it gets a WA on test 7).

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

How do you solve problem A?

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

    As $$$x <= 10^9$$$ You can replace every $$$a_i$$$ with $$$g = gcd(x, a[i])$$$ because you can't get more contribution than $$$g$$$ from $$$a_i$$$. Now all integers are the divisors of $$$x$$$. So, there will be about $$$10^3$$$ distinct integers. You can store maximum $$$q$$$ duplicates from each of them where $$$q$$$ is maximum power of a prime factor of $$$x$$$. Now, try using dp to find a proper subset.

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

Hints on H?

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

Where can I find the editorial of Problem F

»
8 месяцев назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Someone please provide Editorial for problem D

I have tried Binary search to find b.. assuming a = x;

but getting WA on test 4

CODE