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_31623212_30475.cpp: In function 'int main()':
0_0_31623212_30475.cpp:8:28: error: 'j' was not declared in this scope
  int n,a[100000],i=0,m,b=0;j=0,sum[100000],ty[100000],k,M;
                            ^
0_0_31623212_30475.cpp:8:32: error: 'sum' was not declared in this scope
  int n,a[100000],i=0,m,b=0;j=0,sum[100000],ty[100000],k,M;
                                ^
0_0_31623212_30475.cpp:8:44: error: 'ty' was not declared in this scope
  int n,a[100000],i=0,m,b=0;j=0,sum[100000],ty[100000],k,M;
                                            ^
0_0_31623212_30475.cpp:8:55: error: 'k' was not declared in this scope
  int n,a[100000],i=0,m,b=0;j=0,sum[100000],ty[100000],k,M;
                                                       ^
0_0_31623212_30475.cpp:8:57: error: 'M' was not declared in this scope
  int n,a[100000],i=0,m,b=0;j=0,sum[100000],ty[100000],k,M;
                                                         ^


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-10-06 16:19:25, Gzip enabled