Submission #1286139

#TimeUsernameProblemLanguageResultExecution timeMemory
1286139lyra_g13Square or Rectangle? (NOI19_squarerect)C++20
0 / 100
1 ms340 KiB
#include "squarerect.h" #include <bits/stdc++.h> using ll = long long; bool am_i_square(int N, int Q){ for(int i = 0 ; i < N ; i++){ for(int j = 0 ; j < N ; j++){ return inside_shape(i+1 , j+1); } } }

Compilation message (stderr)

squarerect.cpp: In function 'bool am_i_square(int, int)':
squarerect.cpp:10:2: warning: control reaches end of non-void function [-Wreturn-type]
   10 |  }
      |  ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...