Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_868_845_12052.cpp: In function 'int main()':
1_868_845_12052.cpp:16:27: error: redeclaration of 'int n'
  int a = 0, v = 0, i = 0, n = 0;
                           ^
1_868_845_12052.cpp:10:6: note: 'int n' previously declared here
  int n;
      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 19:30:25, Gzip enabled