Problem candymountain_ex
User dragons
Submission Time 2023-02-04 01:02:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp:3:22: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long int;
| ^~~
candymountain_ex.cpp:7:1: note: in expansion of macro ‘ll’
7 | ll n, k;
| ^~
candymountain_ex.cpp:7:4: error: ‘n’ does not name a type
7 | ll n, k;
| ^
candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:45:12: error: ‘n’ was not declared in this scope
45 | cin >> n >> k;
| ^
candymountain_ex.cpp:45:17: error: ‘k’ was not declared in this scope
45 | cin >> n >> k;
| ^