0_0_39596529_6599.cpp:7:11: error: scalar object 'factor' requires one element in initializer
7 | long long factor={1,1,2,6,24,120,720,5040,40320,362880};
| ^~~~~~
0_0_39596529_6599.cpp: In function 'bool Cantor(char*, int)':
0_0_39596529_6599.cpp:21:9: error: 'resullt' was not declared in this scope; did you mean 'result'?
21 | resullt+=weight*factor[n-i+1];
| ^~~~~~~
| result
|