Problem mathmadness
User foodaholic
Submission Time 2025-02-01 16:16:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathmadness.cpp: In function ‘int main()’:
mathmadness.cpp:20:4: error: expected ‘;’ before ‘long’
20 | })
| ^
| ;
21 |
22 | long long x=1
| ~~~~
mathmadness.cpp:23:22: error: ‘i’ was not declared in this scope
23 | for (long long i=0; i<K; i++){
| ^
mathmadness.cpp:27:12: error: ‘x’ was not declared in this scope
27 | return x;
| ^