Problem funnysequence
User YSH2020
Submission Time 2025-03-06 13:00:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnysequence.cpp: In function ‘long long int query(long long int, long long int)’:
funnysequence.cpp:15:21: error: ‘a’ was not declared in this scope
15 | return upper_bound(a.begin(), a.end(), y)-lower_bound(a.begin(), a.end(), x);
| ^