Problem removalcosts
User Xiaoyang
Submission Time 2022-12-28 14:33:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

removalcosts.cpp: In function ‘void solve2(long long int)’:
removalcosts.cpp:27:5: error: declaration of ‘long long int n’ shadows a parameter
27 | ll n;cin>>n;
| ^
removalcosts.cpp: In function ‘int main()’:
removalcosts.cpp:50:13: error: too few arguments to function ‘void solve2(long long int)’
50 | solve2();
| ^
removalcosts.cpp:26:6: note: declared here
26 | void solve2(ll n){
| ^~~~~~