F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36055272_23320.cpp: In function 'int main()':
0_0_36055272_23320.cpp:4:5: error: redeclaration of 'int a'
 int a=50;
     ^
0_0_36055272_23320.cpp:3:6: note: 'int a' previously declared here
  int a,b,c,d,e,n,s;
      ^
0_0_36055272_23320.cpp:5:5: error: redeclaration of 'int b'
 int b=25;
     ^
0_0_36055272_23320.cpp:3:8: note: 'int b' previously declared here
  int a,b,c,d,e,n,s;
        ^
0_0_36055272_23320.cpp:6:5: error: redeclaration of 'int c'
 int c=10;
     ^
0_0_36055272_23320.cpp:3:10: note: 'int c' previously declared here
  int a,b,c,d,e,n,s;
          ^
0_0_36055272_23320.cpp:7:5: error: redeclaration of 'int d'
 int d=5;
     ^
0_0_36055272_23320.cpp:3:12: note: 'int d' previously declared here
  int a,b,c,d,e,n,s;
            ^
0_0_36055272_23320.cpp:8:5: error: redeclaration of 'int e'
 int e=1;
     ^
0_0_36055272_23320.cpp:3:14: note: 'int e' previously declared here
  int a,b,c,d,e,n,s;
              ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-04 04:41:36, Gzip enabled