Problem colouredballs
User NotTYR
Submission Time 2025-11-24 13:47:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colouredballs.cpp:5:1: error: ‘unsinged’ does not name a type; did you mean ‘unsigned’?
5 | unsinged long long fac(unsinged int n){
| ^~~~~~~~
| unsigned
colouredballs.cpp: In function ‘int main()’:
colouredballs.cpp:32:11: error: ‘fac’ was not declared in this scope
32 | y = fac(w)/(fac(w-2) * 2)
| ^~~
colouredballs.cpp:35:11: error: ‘fac’ was not declared in this scope
35 | z = fac(w)/(fac(w-2) * 2)
| ^~~