Submission #1286152

#TimeUsernameProblemLanguageResultExecution timeMemory
1286152lyra_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 = 1 ; i <= 100; i++){
           for(int j = 1 ; j <= 100 ; j++){
               return inside_shape(i , j);
           }
       }

 }

Compilation message (stderr)

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