Problem localexpress
User Reverberate
Submission Time 2024-01-31 11:07:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

localexpress.cpp: In function ‘int main()’:
localexpress.cpp:23:13: error: redeclaration of ‘long long int a’
23 | int a = a + a;
| ^
localexpress.cpp:21:13: note: ‘long long int a’ previously declared here
21 | int a = dp[i-1].first;
| ^
localexpress.cpp:28:13: error: redeclaration of ‘long long int b’
28 | int b = b + b;
| ^
localexpress.cpp:26:13: note: ‘long long int b’ previously declared here
26 | int b = dp[i-1].second;
| ^
localexpress.cpp:41:13: error: redeclaration of ‘long long int a’
41 | int a = a + a;
| ^
localexpress.cpp:39:13: note: ‘long long int a’ previously declared here
39 | int a = dp[i-1].first;
| ^
localexpress.cpp:46:13: error: redeclaration of ‘long long int b’
46 | int b = b + b;
| ^
localexpres