79648233

Date: 2025-06-02 06:14:20
Score: 1.5
Natty:
Report link
Line 12: Char 29: error: cannot use type 'void' as a range
   12 |         for(auto [dy, dx] : {{-1,0}, {1,0}, {0,1}, {0,-1} } ) {
      |                             ^

I got similar problem, what to do here?

(I am using c++23)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mo R Hadi