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

Автор Hasan0540, история, 8 лет назад, По-английски

Hello Everyone,

ACM SCPC 2015 (Syrian Collegiate Programming Contest) problem set will be available in Codeforces Gym on Sunday, Sep/11/2016 21:00.

The problem set was prepared by Hasan0540, hyoussef, SaMer, AU.Bahosain, fegla, Nicole Hosh, and Mohammad Asaad.

Thanks to RetiredAmrMahmoud, Amirnasr, eagle93, TahaMahmoud, ghooo, osamahatem, and hossameldeenfci for testing.

Good luck, and I hope you can enjoy the problem set as much as we enjoyed creating it.

Update: The contest was shifted 11 hours (Sunday, Sep/11/2016 21:00) in order for it not to intersect with the Mirror of Bubble Cup Finals.

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

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

The contest was shifted 11 hours (Sunday, Sep/11/2016 21:00) in order for it not to intersect with the Mirror of Bubble Cup Finals.

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

Is there gonna be editorial to the problems??? I really want to know how to solve "Home, Sweet home" :D

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

Can someone please tell me how to solve problem D?

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

    transfer the number to the string in base 11 then sum the two strings, it's little hard and annoying to implement :3

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

      Thanks for explaining the solution.

      Can you send me your code? I tried to implement it but I am getting WA.

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

Can we expect some short writeups/editorials at least for harder problems according to the authors. Thanks.

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

I think i am the only one who solved F:Hey JUDgE using bitmasks :D

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

Thanks for problems.

Please change problem C's checker , it gives WrongAnswer when there is a space at the end of the line! though you have told "print N space - separated integers" but it doesn't mean that we are not allowed to print space at the end of line when there is no such condition in official contests and many people do not notice that!

We spent 1 hour for finding bug of the code when there wasn't any mistake !!! :(

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

    I'm really sorry for that :(

    You will get Wrong Answer or Presentation Error for printing an extra space in the official contest, in all ACM contests of my region, and most of UVa Online Judge and ICPCArchive problems. Also, space-separated means separated by a space, not followed by a space.

    Maybe mentioning that the first test case is the same as the sample would have helped. I'm sorry again.

    • »
      »
      »
      8 лет назад, # ^ |
        Проголосовать: нравится +13 Проголосовать: не нравится

      You should probably advocate for removing this rule from the contests in your region too! Seriously, WF doesn't have Presentation Errors, why should regionals have them?

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

        I think the judges return Wrong Answer as the system they use doesn't tell if everything is OK except the spaces. UVa and ICPCArchive return Wrong Answer if you're printing "\n" after each test case instead of between cases. Are you sure they ignore trailing spaces at WF?

        • »
          »
          »
          »
          »
          8 лет назад, # ^ |
            Проголосовать: нравится +13 Проголосовать: не нравится

          Absolutely sure, the instruction booklet says they ignore any amount of white space within reason (so if you don't do anything stupid like printing 3GB of white space, they will simply ignore any extra white space in your submission).

          UVa is a really old online judge, so I guess they simply never changed it. But there's no reason for your local organizers not to...