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_7721297_2850.cpp:2:17: stdlib: No such file or directory
0_0_7721297_2850.cpp:24: error: conflicting declaration 'int pos[100100]'
0_0_7721297_2850.cpp:13: error: 'pos' has a previous declaration as `Pos pos[100100]'
0_0_7721297_2850.cpp:24: error: type mismatch with previous external decl of `int pos[100100]'
0_0_7721297_2850.cpp:13: error: previous external decl of `Pos pos[100100]'
0_0_7721297_2850.cpp:24: error: declaration of `int pos[100100]'
0_0_7721297_2850.cpp:13: error: conflicts with previous declaration `Pos pos[100100]'
0_0_7721297_2850.cpp: In function `int main()':
0_0_7721297_2850.cpp:59: error: no `operator++(int)' declared for postfix `++', trying prefix operator instead
0_0_7721297_2850.cpp:59: error: no match for 'operator++' in '++pos[i]'
0_0_7721297_2850.cpp:64: error: cannot convert `Pos' to `int' for argument `2' to `int findpos(int, int)'


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-02 04:14:52, Gzip enabled