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_8715549_29778.cpp:4: error: conflicting declaration 'char s[1001][51]'
0_0_8715549_29778.cpp:3: error: 's' has a previous declaration as `int s'
0_0_8715549_29778.cpp:4: error: type mismatch with previous external decl of `char s[1001][51]'
0_0_8715549_29778.cpp:3: error: previous external decl of `int s'
0_0_8715549_29778.cpp:4: error: declaration of `char s[1001][51]'
0_0_8715549_29778.cpp:3: error: conflicts with previous declaration `int s'
0_0_8715549_29778.cpp: In function `int find(char*)':
0_0_8715549_29778.cpp:11: error: invalid types `int[int]' for array subscript
0_0_8715549_29778.cpp:14: error: invalid types `int[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-09-28 15:21:37, Gzip enabled