제출 #1286150

#제출 시각아이디문제언어결과실행 시간메모리
1286150lyra_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){ ll c= (4/100)*N; for(int i = 1 ; i <= N , c >=0 ; i++){ for(int j = 1 ; j <= N , c>=0 ; j++){ c--; return inside_shape(i , j); } } }

컴파일 시 표준 에러 (stderr) 메시지

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