Problem givingtree
User YellowKing
Submission Time 2026-06-23 11:22:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

givingtree.cpp: In function ‘int main()’:
givingtree.cpp:11:15: error: too few arguments to function ‘int s(int, int)’
11 | int lsp=s(c-1)/2;
| ^
givingtree.cpp:3:5: note: declared here
3 | int s(int a, int x){
| ^