| Problem | givingtree |
|---|---|
| User | YellowKing |
| Submission Time | 2026-06-23 11:15:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
givingtree.cpp: In function ‘int main()’:
givingtree.cpp:36:44: error: too few arguments to function ‘int s(int, int)’
36 | cout<<string(asp,' ')<<"T"<<string(s(a-2),' ')<<"T"<<'\n';
| ^
givingtree.cpp:3:5: note: declared here
3 | int s(int a,int x){
| ^
givingtree.cpp:43:44: error: too few arguments to function ‘int s(int, int)’
43 | cout<<string(bsp,' ')<<"T"<<string(s(b-2),' ')<<"T"<<'\n';
| ^
givingtree.cpp:3:5: note: declared here
3 | int s(int a,int x){
| ^
givingtree.cpp:50:27: error: too few arguments to function ‘int s(int, int)’
50 | cout<<"T"<<string(s(c-2),' ')<<"T"<<'\n';
| ^
givingtree.cpp:3:5: note: declared here
3 | int s(int a,int x){
| ^