Problem bftrouble
User usernamehere
Submission Time 2024-08-03 12:21:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bftrouble.cpp:3:9: error: ‘ll’ does not name a type
3 | typedef ll long long;
| ^~
bftrouble.cpp: In function ‘int main()’:
bftrouble.cpp:6:5: error: ‘i’ was not declared in this scope
6 | i n, a;
| ^
bftrouble.cpp:7:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n >> a;
| ^
| yn
bftrouble.cpp:7:17: error: ‘a’ was not declared in this scope
7 | cin >> n >> a;
| ^
bftrouble.cpp:8:5: error: ‘ll’ was not declared in this scope
8 | ll count = 0;
| ^~
bftrouble.cpp:9:12: error: expected ‘;’ before ‘i’
9 | for (ll i=0; i<n; i++) {
| ^~
| ;
bftrouble.cpp:10:11: error: expected ‘;’ before ‘v’
10 | ll v;
| ^~
| ;
bftrouble.cpp:11:16: error: ‘v’ was not decla