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_13149877_21173.cpp: In function 'int main()':
0_0_13149877_21173.cpp:4:25: error: two or more data types in declaration of 'num1'
 {int char num1[2010][100],num2[2010][100];
                         ^
0_0_13149877_21173.cpp:4:41: error: two or more data types in declaration of 'num2'
 {int char num1[2010][100],num2[2010][100];
                                         ^
0_0_13149877_21173.cpp:9:16: error: 'num2' was not declared in this scope
    scanf("%s",&num2[i]);
                ^
0_0_13149877_21173.cpp:13:15: error: 'num2' was not declared in this scope
     if(strcmp(num2[i],num2[j]) == 0){
               ^
0_0_13149877_21173.cpp:23:15: error: 'num2' was not declared in this scope
     if(strcmp(num2[i],num2[j]) == 0){
               ^


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 10:59:06, Gzip enabled