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_8785023_18054.cpp:10: error: `std::vector<int, std::allocator<int> > div[50005]' redeclared as different kind of symbol
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: error: previous declaration of `div_t div(int, int)'
0_0_8785023_18054.cpp:10: error: declaration of `std::vector<int, std::allocator<int> > div[50005]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: error: conflicts with previous declaration `div_t div(int, int)'
0_0_8785023_18054.cpp: In function `int main()':
0_0_8785023_18054.cpp:27: error: invalid types `<unknown type>[int]' for array subscript
0_0_8785023_18054.cpp:41: error: invalid types `<unknown type>[int]' for array subscript
0_0_8785023_18054.cpp:42: error: invalid types `<unknown type>[int]' for array subscript


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-11-17 05:39:43, Gzip enabled