Problem alienalien
User Celest
Submission Time 2023-08-16 16:35:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

alienalien.cpp: In function ‘int main()’:
alienalien.cpp:5:3: error: ‘ll’ was not declared in this scope
5 | ll n,ans=0;
| ^~
alienalien.cpp:6:8: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | cin>>n;
| ^
| yn
alienalien.cpp:7:5: error: expected ‘;’ before ‘arr’
7 | ll arr[n];
| ^~~~
| ;
alienalien.cpp:8:9: error: expected ‘;’ before ‘x’
8 | for(ll x=0;x<n;x++){
| ^~
| ;
alienalien.cpp:8:14: error: ‘x’ was not declared in this scope
8 | for(ll x=0;x<n;x++){
| ^
alienalien.cpp:9:10: error: ‘arr’ was not declared in this scope
9 | cin>>arr[x];
| ^~~
alienalien.cpp:11:9: error: expected ‘;’ before ‘x’
11 | for(ll x=0;x<n;x++){
| ^~
| ;
alienalien.cpp:11:14: error: ‘x’ was not declared in t