[Community Puzzle] Crop-Circles

After reflecting upon your feedback, I have now clarified in the puzzle to not use that.
Thanks again for the feedback and helping me learn :slight_smile:

2 Likes

Thanks for submitting this puzzle. It was fun and quick. Brought back some nostalgia too thinking about alien crop fields when I was a kid :joy:

1 Like

I everyone.
My code is successful for the validators 1 2 6 9 and 12. But for all the others it seems i’m just one step less wide ? or is my problem worse ?

these are my failing outputs:

3: Classic with PLANT

{}{}{}{}{}{}                          
{}{}{}{}{}            {}{}{}{}{}      
{}{}{}{}{}          {}{}{}{}{}{}{}    
{}{}{}{}{}        {}{}{}{}{}{}{}{}{}  
{}{}{}{}{}        {}{}{}{}{}{}{}{}{}  
{}{}{}{}{}        {}{}{}{}{}{}{}{}{}  
{}{}{}{}{}        {}{}{}{}{}{}{}{}{}  
{}{}{}{}{}        {}{}{}{}{}{}{}{}{}  
{}{}{}{}{}          {}{}{}{}{}{}{}    
{}{}{}{}{}            {}{}{}{}{}      
{}{}{}{}{}{}    {}{}{}                
{}            {}{}{}{}{}              
              {}{}{}{}{}              
              {}{}{}{}{}            {}
                {}{}{}    {}{}{}{}{}{}
      {}{}{}{}{}            {}{}{}{}{}
    {}{}{}{}{}{}{}          {}{}{}{}{}
  {}{}{}{}{}{}{}{}{}        {}{}{}{}{}
  {}{}{}{}{}{}{}{}{}        {}{}{}{}{}
  {}{}{}{}{}{}{}{}{}        {}{}{}{}{}
  {}{}{}{}{}{}{}{}{}        {}{}{}{}{}
  {}{}{}{}{}{}{}{}{}        {}{}{}{}{}
    {}{}{}{}{}{}{}          {}{}{}{}{}
      {}{}{}{}{}            {}{}{}{}{}
                          {}{}{}{}{}{}

4:Bulls Eye

    {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}    
  {}{}{}                      {}{}{}  
{}{}{}                          {}{}{}
{}{}      {}{}{}{}{}{}{}{}{}      {}{}
{}      {}{}{}{}{}{}{}{}{}{}{}      {}
      {}{}{}              {}{}{}      
    {}{}{}                  {}{}{}    
  {}{}{}      {}{}{}{}{}      {}{}{}  
{}{}{}      {}{}{}{}{}{}{}      {}{}{}
{}{}      {}{}{}      {}{}{}      {}{}
{}{}    {}{}{}          {}{}{}    {}{}
{}{}    {}{}              {}{}    {}{}
{}{}    {}{}      {}      {}{}    {}{}
{}{}    {}{}              {}{}    {}{}
{}{}    {}{}{}          {}{}{}    {}{}
{}{}      {}{}{}      {}{}{}      {}{}
{}{}{}      {}{}{}{}{}{}{}      {}{}{}
{}{}{}{}      {}{}{}{}{}      {}{}{}{}
{}{}{}{}{}                  {}{}{}{}{}
{}{}{}{}{}{}              {}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}                      {}{}{}{}
{}{}{}{}                      {}{}{}{}
  {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}  

5:PLANTMOW

{}{}{}{}{}{}{}          {}{}{}{}{}{}{}
{}{}{}{}{}{}              {}{}{}{}{}{}
{}{}{}{}  {}{}{}{}{}{}{}{}{}  {}{}{}{}
{}{}{}    {}{}{}{}{}{}{}{}{}    {}{}{}
{}{}      {}{}{}{}{}{}{}{}{}      {}{}
{}        {}{}{}{}{}{}{}{}{}        {}
          {}{}{}{}{}{}{}{}{}          
            {}{}{}{}{}{}{}            
              {}{}{}{}{}              
      {}{}{}              {}{}{}      
    {}{}{}{}{}          {}{}{}{}{}    
  {}{}{}{}{}{}{}      {}{}{}{}{}{}{}  
  {}{}{}{}{}{}{}      {}{}{}{}{}{}{}  
  {}{}{}{}{}{}{}      {}{}{}{}{}{}{}  
    {}{}{}{}{}          {}{}{}{}{}    
      {}{}{}              {}{}{}      
              {}{}{}{}{}              
            {}{}{}{}{}{}{}            
          {}{}{}{}{}{}{}{}{}          
          {}{}{}{}{}{}{}{}{}          
          {}{}{}{}{}{}{}{}{}          
{}        {}{}{}{}{}{}{}{}{}        {}
{}{}      {}{}{}{}{}{}{}{}{}      {}{}
{}{}{}{}{}{}              {}{}{}{}{}{}
{}{}{}{}{}{}{}          {}{}{}{}{}{}{}

7:Half Moons

{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
            {}{}{}{}{}{}{}            
              {}{}{}{}{}              
                {}{}{}                
                  {}                  
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                  {}                  
                {}{}{}                
              {}{}{}{}{}              
            {}{}{}{}{}{}{}            
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}

8:Bonus

                  {}                  
                  {}                  
                  {}                  
                  {}                  
                  {}                  
                {}{}{}                
              {}{}{}{}{}              
            {}{}{}{}{}{}{}            
          {}{}          {}{}          
{}{}{}{}{}{}    {}{}{}    {}{}{}{}{}{}
{}{}{}{}{}    {}{}{}{}{}    {}{}{}{}{}
{}{}{}{}{}  {}{}{}{}{}{}{}  {}{}{}{}{}
{}{}{}{}{}  {}{}{}{}{}{}{}  {}{}{}{}{}
{}{}{}{}{}  {}{}{}{}{}{}{}  {}{}{}{}{}
{}{}{}{}{}    {}{}{}{}{}    {}{}{}{}{}
{}{}{}{}{}{}    {}{}{}    {}{}{}{}{}{}
          {}{}          {}{}          
            {}{}{}{}{}{}{}            
              {}{}{}{}{}              
                {}{}{}                
                  {}                  
                  {}                  
                  {}                  
                  {}                  
                  {}                  

10:Venn Diagram

{}                  {}{}{}{}{}{}{}{}{}
                      {}{}{}{}{}{}{}{}
                        {}{}{}{}{}{}{}
                        {}{}{}{}{}{}{}
                        {}{}{}{}{}{}{}
                        {}{}{}{}{}{}{}
                  {}{}{}        {}{}{}
                {}{}{}{}          {}{}
              {}{}{}{}{}            {}
            {}{}{}{}{}                
{}          {}{}{}{}                  
{}{}        {}{}{}                    
{}{}{}{}{}{}                          
{}{}{}{}{}{}                          
{}{}{}{}{}{}                          
{}{}{}{}{}{}                          
{}{}{}{}{}{}{}                      {}
{}{}{}{}{}{}{}{}                  {}{}
{}{}{}{}{}{}{}{}{}              {}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}

11:That was excessive

                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      

Wow, interesting. I don’t see any pattern, to help me diagnosis this.
If you want to message me the code, I’ll have a look.

(Thanks for playing and keep trying to figure it out yourself, as that is where the best learning comes from.)

1 Like

Hi
Can any one help me on this in c++, it would be great if you help me ’

What exactly is your problem?

1 Like

fails only on Bulls Eye validator. I can’t figure out the error any other reason for fail?

That’s interesting. No one else has reported a similar issue.
I don’t have any idea/suggestion, right off, but if you want to message me the code, feel free, and I’ll give it a look.
(Thanks for playing)

1 Like

To anyone –
Ela12221 (not the person I said earlier, when I was confused) has messaged me some Python code they want a bit of help troubleshooting. I don’t see anything obvious, but I’m really a Python-beginner. Is there a Python coder that wouldn’t mind having a look? If so I will message it to you.
Thanks

Y’all–
I think I’m confusing 2 different coders who were seeking advice, so if I wrote something that makes no sense just now, please disregard. I’m sorting it all out now.

I am coding in c++, Drawing circles I was playing with that when I was very young, and I draw circles on commodore… yeach, that was very long time ago, and for me that was only computer which I could play with…
Anyway, My question is about different game, “Spring Chalenge” but I have question about creating in memory maps. I have struggling with making map using byte array on 2D arrays, or use vector.
Map representing walls and floor I make with bytes, but there are also pallett’s which pac man must gather to get point. And what is easier to do, use also 2D map representing position of pallet? or use class and 2 dimensional vector and there put all needed data? With vector I need loop it to find where to go, but byte map also, 2d map of byte I can straight away compare to floor and walls map. With struct I can delete pallet’s, but with byte array I can draw in console representation of the map.
And last thing, coding it. Using vector or other dynamic array is bit more difficult to write code like "vector<vector> tilesmap ", then use just “tilesmap[][]” and loop thru it.
Sorry that post is on crop-circle, but on community I am first time. And this is my second post in here.
anyway, I thing my problem can relay also to circles, because i have question about how representing maps in code.

Please do not talk about other matters than the captioned puzzle in this thread, especially when you have already opened a new thread for your question on maps already.

Sorry, But I was counting for fast response… Now when I start coding using vectors and list and loop from them, I found that I had hard time to use vectors… Really, when I am using iterators, there are no way to get number of range, where really was helping me creating if statements. Especially when I try make nested loops.

Understood, but that won’t help you get a response faster. If you continue to write something not directly related to this puzzle here or in other threads, I may edit or delete your posts.

Umm… maybe I could try? I submitted in Python too

1 Like

The circles look quite octagonal though… would you be able to say what method you used to construct the circle? (The one main idea needed for this one is that the distance of all the points in the boundary and interior of the circle are less than or equal to the radius)

2 Likes

Cool. I believe I just sent you an invite for the private message that includes the code

Thanks for your willingness to help me.
My approach was very wrong. I was trying to compute for each line the number of character to mow/plant/plantMow, using some kind of offset logic, but haha dead end…

Finally i used the approach you are describing with the pithagoras theorem as many suggested here. It worked.

1 Like

В этой задаче есть проблема с округлением, решая ее через sin или cos круги получаются более ровные, но не проходят тесты. Пришлось использовать алгоритм заполнения круга через квадрат - тогда совпало с решением создателя.

Желаю дальнейших творческих изысков!

1 Like

Please use English in this forum. Thanks.