Problem twice
User zhangdi
Submission Time 2025-07-21 20:32:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twice.cpp: In function ‘int main()’:
twice.cpp:19:10: error: redeclaration of ‘int x’
19 | int x;
| ^
twice.cpp:18:12: note: ‘int x’ previously declared here
18 | for(int x = n;x!=0;x--){
| ^