Problem | travel |
---|---|
User | haydendoo |
Submission Time | 2023-06-06 18:16:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
travel.cpp: In function ‘int main()’:
travel.cpp:15:6: error: redeclaration of ‘long long int ans’
15 | int ans=0;
| ^~~
travel.cpp:11:6: note: ‘long long int ans’ previously declared here
11 | int ans=a[n-1]-a[0];
| ^~~