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_23600911_13348.cpp: In function 'int main()':
0_0_23600911_13348.cpp:4:21: error: expected initializer before 'e'
     int t,n,a[10005]e,i,j,sum;
                     ^
0_0_23600911_13348.cpp:10:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++)
             ^
0_0_23600911_13348.cpp:11:21: error: 'a' was not declared in this scope
         scanf("%d",&a[i]);
                     ^
0_0_23600911_13348.cpp:12:9: error: 'sum' was not declared in this scope
         sum=0;
         ^
0_0_23600911_13348.cpp:13:13: error: 'i' was not declared in this scope
         for(i=0;i<n;i++)
             ^
0_0_23600911_13348.cpp:15:13: error: 'e' was not declared in this scope
             e=1;
             ^
0_0_23600911_13348.cpp:16:17: error: 'j' was not declared in this scope
             for(j=i+1;j<n;j++)
                 ^
0_0_23600911_13348.cpp:17:16: error: 'a' was not declared in this scope
             if(a[i]==a[j])
                ^


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-05 08:04:59, Gzip enabled