Problem givingtree
User eipi10
Submission Time 2026-06-23 10:44:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

givingtree.cpp: In function ‘int main()’:
givingtree.cpp:11:41: error: expected ‘;’ before string constant
11 | for (int s=1; s<=(c-a)/2; s=s+1) cout " " << "\n";
| ^~~~
| ;
givingtree.cpp:13:41: error: expected ‘;’ before string constant
13 | for (int s=1; s<=(c-a)/2; s=s+1) cout " " << "\n";
| ^~~~
| ;
givingtree.cpp:14:41: error: expected ‘;’ before string constant
14 | for (int s=1; s<=(c-b)/2; s=s+1) cout " " << "\n";
| ^~~~
| ;
givingtree.cpp:16:41: error: expected ‘;’ before string constant
16 | for (int s=1; s<=(c-b)/2; s=s+1) cout " " << "\n";
| ^~~~