Alilo-Sy's blog

By Alilo-Sy, history, 5 years ago, In English

Hello. I need some help in coding a simple c++ program that solves a Nonogram puzzle. The program reads a text file which is the description of the puzzle, it looks like this: m n (m, n <= 50) Then m lines that describes the rows. Then n lines that describes the columns. And the program should find one image (any image is accepted in case of many) that fits all the descriptions (no need to check the uniqueness of the solution). The only header files to use are basically (iostream, fstream, cstdlib and string). Any help would be appreciated.

Full text and comments »

  • Vote: I like it
  • -17
  • Vote: I do not like it

By Alilo-Sy, history, 6 years ago, In English

I've just received a message from the System that says: "Attention!

Your solution 41482612 for the problem 1020B significantly coincides with solutions missed2/41482594, Alilo-Sy/41482612. Such a coincidence is a clear rules violation. Note that unintentional leakage is also a violation. For example, do not use ideone.com with the default settings (public access to your code). If you have conclusive evidence that a coincidence has occurred due to the use of a common source published before the competition, write a comment to post about the round with all the details. More information can be found at http://codeforces.com/blog/entry/8790. Such violation of the rules may be the reason for blocking your account or other penalties." And when I searched for the missed2 handle and look in his submissions I get shocked when I saw that his submission to 1020B - Бейджик 41482594 is just as my submission 41482612 literally. I always use ideone and I didn't change anything in its settings because I didn't know that I have to make my code private so I was forbidden from rating and all my labors are in vain :(

Full text and comments »

  • Vote: I like it
  • -37
  • Vote: I do not like it