Problem expansion
User GreenBlob123
Submission Time 2024-12-30 16:44:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

expansion.cpp: In function ‘int main()’:
expansion.cpp:22:10: error: redeclaration of ‘long long int i’
22 | int i =0;
| ^
expansion.cpp:9:11: note: ‘long long int i’ previously declared here
9 | for (int i =0; i<T; i++){
| ^
expansion.cpp:23:22: error: ‘l’ was not declared in this scope
23 | while (currend <l){
| ^
expansion.cpp:25:13: error: ‘n’ was not declared in this scope
25 | while (i<n && balloonlist[i].first - balloonlist[i].second <= currend){
| ^