Problem verticallychallenged_catoi
User MiloDino67
Submission Time 2026-11-15 21:09:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

verticallychallenged_catoi.cpp: In function ‘int main()’:
verticallychallenged_catoi.cpp:7:15: error: expected ‘;’ before ‘vector’
7 | cin >> A >> b
| ^
| ;
8 |
9 | vector<int>a(100005,0);
| ~~~~~~
verticallychallenged_catoi.cpp:11:11: error: ‘a’ was not declared in this scope
11 | cin >> a[i];
| ^
verticallychallenged_catoi.cpp:14:8: error: ‘a’ was not declared in this scope
14 | freq[a[i]]++;
| ^
verticallychallenged_catoi.cpp:18:6: error: ‘a’ was not declared in this scope
18 | if(a[i] <= b and a[i] >= A){
| ^