Hasan0540's blog

By Hasan0540, history, 8 years ago, In English

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.

  • Vote: I like it
  • +109
  • Vote: I do not like it

»
8 years ago, # |
  Vote: I like it +20 Vote: I do not like it

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 years ago, # |
  Vote: I like it -14 Vote: I do not like it

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

»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Can someone please tell me how to solve problem D?

  • »
    »
    8 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Thanks for explaining the solution.

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

»
8 years ago, # |
  Vote: I like it +4 Vote: I do not like it

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

»
8 years ago, # |
  Vote: I like it -9 Vote: I do not like it

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

»
8 years ago, # |
  Vote: I like it +6 Vote: I do not like it

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 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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 years ago, # ^ |
        Vote: I like it +13 Vote: I do not like it

      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 years ago, # ^ |
        Rev. 2   Vote: I like it 0 Vote: I do not like it

        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 years ago, # ^ |
            Vote: I like it +13 Vote: I do not like it

          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...