Problem rainbowrabbit
User Henries
Submission Time 2024-11-11 18:28:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rainbowrabbit.cpp: In function ‘void solve(std::vector<long long int>)’:
rainbowrabbit.cpp:8:17: error: ‘n’ was not declared in this scope
8 | for(int i =1;i<n;i++){
| ^
rainbowrabbit.cpp: In function ‘int main()’:
rainbowrabbit.cpp:22:22: error: ‘n’ was not declared in this scope
22 | vector<long long> v(n);
| ^