Problem doll_noi
User Ash
Submission Time 2024-04-19 10:52:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doll_noi.cpp: In function ‘void solve()’:
doll_noi.cpp:17:6: error: redeclaration of ‘int64_t ans’
17 | int ans = 1;
| ^~~
doll_noi.cpp:10:9: note: ‘int64_t ans’ previously declared here
10 | int n, ans = 1; cin >> n;
| ^~~