| Problem | givingtree |
|---|---|
| User | ThinkingGeek257 |
| Submission Time | 2026-06-23 09:43:46 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
givingtree.cpp: In function ‘int main()’:
givingtree.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i=0;i<h;i++){
| ^
givingtree.cpp:9:8: error: ‘j’ was not declared in this scope
9 | for (j=0;j<((c-a)/2);j++){
| ^
givingtree.cpp:12:8: error: ‘q’ was not declared in this scope
12 | for (q=0;q<a;q++){
| ^
givingtree.cpp:21:7: error: ‘i’ was not declared in this scope
21 | for (i=0;i<h;i++){
| ^
givingtree.cpp:22:8: error: ‘j’ was not declared in this scope
22 | for (j=0;j<((c-b)/2);j++){
| ^
givingtree.cpp:25:8: error: ‘q’ was not declared in this scope
25 | for (q=0;q<b;q++){
| ^
givingtree.cpp:34:7: error: ‘i’ was not declared in this scope
34 | for (i=0;i<h;i++){
| ^
givingtree.cpp:35:8: error: ‘q’ was not declared in this scope
35 | for (q=0;q<c;q++){