Problem | squarerect |
---|---|
User | Sandarach151 |
Submission Time | 2023-01-14 00:11:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:14:2: error: expected initializer before ‘for’
14 | for(int i=0; i<100; i++){
| ^~~
squarerect.cpp:14:15: error: ‘i’ was not declared in this scope
14 | for(int i=0; i<100; i++){
| ^
squarerect.cpp:24:9: error: ‘tl’ was not declared in this scope; did you mean ‘tm’?
24 | return tl.first-br.first==tl.second-br.second;
| ^~
| tm