bestplace.cpp: In function 'int main()':
bestplace.cpp:15:18: error: 'i' was not declared in this scope
15 | for(int j = 0; i <= n-1; i++){
| ^
bestplace.cpp:15:11: warning: unused variable 'j' [-Wunused-variable]
15 | for(int j = 0; i <= n-1; i++){
| ^
bestplace.cpp:19:18: error: 'i' was not declared in this scope
19 | for(int k = 0; i <= n-1; i++){
| ^
bestplace.cpp:19:11: warning: unused variable 'k' [-Wunused-variable]
19 | for(int k = 0; i <= n-1; i++){
| ^
bestplace.cpp:31:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
31 | if(o = 1){
| ~~^~~