Problem mandarins
User helloworld
Submission Time 2024-05-20 13:26:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mandarins.cpp:3:26: error: expected initializer before ‘long’
3 | #define int unsigned ong long
| ^~~~
mandarins.cpp:4:1: note: in expansion of macro ‘int’
4 | int expo(int x, int k) {
| ^~~
mandarins.cpp: In function ‘int main()’:
mandarins.cpp:3:26: error: expected initializer before ‘long’
3 | #define int unsigned ong long
| ^~~~
mandarins.cpp:10:5: note: in expansion of macro ‘int’
10 | int n, k;
| ^~~
mandarins.cpp:11:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
11 | cin >> n >> k;
| ^
| yn
mandarins.cpp:11:17: error: ‘k’ was not declared in this scope
11 | cin >> n >> k;
| ^
mandarins.cpp:12:13: error: ‘expo’ was not declared in this scope; did you mean ‘expl’?
12 | cout << expo(k + 1, n);