Problem ranges
User iSHOULDVEbeenINnyjcAAAAAA
Submission Time 2025-06-20 15:36:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ranges.cpp: In function ‘int main()’:
ranges.cpp:16:21: error: expected ‘;’ before ‘for’
16 | tempans += x
| ^
| ;
17 | for(long long j=l; j<=r; j++){
| ~~~
ranges.cpp:17:22: error: ‘j’ was not declared in this scope
17 | for(long long j=l; j<=r; j++){
| ^