Problem buycoke
User Pan
Submission Time 2023-12-12 14:48:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buycoke.cpp: In function ‘int dfs(int, int, int)’:
buycoke.cpp:11:6: error: redeclaration of ‘int n1’
11 | int n1 = sum-(C-c)*8-n5*5-n10*10;
| ^~
buycoke.cpp:8:6: note: ‘int n1’ previously declared here
8 | int n1 = sum-(C-c)*8-n5*5-n10*10;
| ^~