[Community Puzzle] Nonogram inversor


#1

https://www.codingame.com/training/hard/nonogram-inversor

Send your feedback or ask for help here!

Created by @LaurentBouvier,validated by @bbb000bbbyyy and @Razovsky.
If you have any issues, feel free to ping them.


#2

In Cat test seems an excess space at the end in input data.


#3

I just removed a white space at the end of the 7th line (I think) in the Cat test.


#4
What you mean logicaly? I had solwe all questions in some way. Every time I operate with 1 line only (wertical or horisontal). But tests say it is unlogical :( Even sinple test 5x5
    Here is it:
    // It is raw question:
    Tier: 1 remaining: 25
           1  3  2  5  1 
     1     .  .  .  .  . 
     1  3  .  .  .  .  . 
     3     .  .  .  .  . 
     1  1  .  .  .  .  . 
     1  1  .  .  .  .  . 

    //1. Lets  start from rows 1 by 1: (x = 1; o = 0)
           1  3  2  5  1 
     1     .  .  .  .  . 
     1  3  x  o  x  x  x 
     3     .  .  x  .  . 
     1  1  .  .  .  .  . 
     1  1  .  .  .  .  . 

    // 2.0 Lets now watch on colls 1 by 1:

           1  3  2  5  1 
     1     o  o  o  x  o 
     1  3  x  o  x  x  x 
     3     o  x  x  x  o 
     1  1  o  x  o  x  o 
     1  1  o  x  o  x  o 

    Tier: 2 remaining: 0
    Thats all. What is unlogical here?

#5

cant do monowidth font here


#6

Yes you can:

Here I can.

#7

Other 5 sample tests are ok, But validation only 2/5. If you give me any validation or other can print absolutely logical steps 1 by 1.


#8

I removed another whitespace from validator 4 (which made my solution crash as well), so maybe you get 3/5 now.
Personally I think validator 4 is the hardest (at least for my solver), a bit like a chessboard pattern.


#9

My mistake. In output format was nothing instead 0