Problem | bronzemedal |
---|---|
User | godex |
Submission Time | 2025-08-06 17:07:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bronzemedal.cpp: In function ‘int main()’:
bronzemedal.cpp:15:40: error: ‘ii’ was not declared in this scope; did you mean ‘i’?
15 | for (int i = 0; i < n - i - 1; ii++) {
| ^~
| i
bronzemedal.cpp:24:9: error: redeclaration of ‘int i’
24 | int i = half;
| ^
bronzemedal.cpp:14:14: note: ‘int i’ previously declared here
14 | for (int i = 0; i < n - 1; i++) {
| ^
bronzemedal.cpp:34:1: error: expected ‘}’ at end of input
34 | }
| ^
bronzemedal.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^