Submission #1286161

#TimeUsernameProblemLanguageResultExecution timeMemory
1286161lyra_g13Square or Rectangle? (NOI19_squarerect)C++20
Compilation error
0 ms0 KiB
#include "squarerect.h"
#include <bits/stdc++.h>
while(T--){

    bool am_i_square(int N, int Q){
       for(int i = 1 ; i <= N ; i++){
           for(int j = 1 ; j <= N ; j++){
               return inside_shape(i , j);
              
           }
       }
}

 }

Compilation message (stderr)

squarerect.cpp:3:1: error: expected unqualified-id before 'while'
    3 | while(T--){
      | ^~~~~