| Problem | givingtree |
|---|---|
| User | mbdharani |
| Submission Time | 2026-06-23 11:29:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
givingtree.cpp: In function ‘int main()’:
givingtree.cpp:5:5: error: expected initializer before ‘cin’
5 | cin >> a >> b >> c >> h >> l >> k;
| ^~~
givingtree.cpp:6:8: error: ‘k’ was not declared in this scope
6 | if(k==0)
| ^
givingtree.cpp:7:13: error: ‘hallow’ was not declared in this scope; did you mean ‘valloc’?
7 | cout << hallow;
| ^~~~~~
| valloc
givingtree.cpp: At global scope:
givingtree.cpp:8:3: error: expected unqualified-id before ‘else’
8 | } else {
| ^~~~