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_13166532_1879.cpp: In function 'int main()':
0_0_13166532_1879.cpp:7:31: error: size of array 'a' is too large
     int a[10000000000000000000];
                               ^
0_0_13166532_1879.cpp:8:9: error: invalid types 'int[int]' for array subscript
     a[-1]=462165;
         ^
0_0_13166532_1879.cpp:10:9: error: redeclaration of 'int a'
     int a,b;
         ^
0_0_13166532_1879.cpp:6:9: note: 'int a' previously declared here
     int a,b;
         ^
0_0_13166532_1879.cpp:10:11: error: redeclaration of 'int b'
     int a,b;
           ^
0_0_13166532_1879.cpp:6:11: note: 'int b' previously declared here
     int a,b;
           ^


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-09-30 10:20:26, Gzip enabled