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_21531599_256.cpp:3:10: error: expected primary-expression before '=' token
 #define N=1000
          ^
0_0_21531599_256.cpp:4:8: note: in expansion of macro 'N'
 char a[N],b[N][N];
        ^
0_0_21531599_256.cpp:3:10: error: expected primary-expression before '=' token
 #define N=1000
          ^
0_0_21531599_256.cpp:4:13: note: in expansion of macro 'N'
 char a[N],b[N][N];
             ^
0_0_21531599_256.cpp:3:10: error: expected primary-expression before '=' token
 #define N=1000
          ^
0_0_21531599_256.cpp:4:16: note: in expansion of macro 'N'
 char a[N],b[N][N];
                ^
0_0_21531599_256.cpp: In function 'int main()':
0_0_21531599_256.cpp:8:13: error: 'a' was not declared in this scope
  while(gets(a)&&a[0]!='#')
             ^
0_0_21531599_256.cpp:15:11: error: 'b' was not declared in this scope
    strcpy(b[k++],temp);
           ^
0_0_21531599_256.cpp:22:14: error: 'b' was not declared in this scope
    if(strcmp(b[i],b[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-11-13 20:06:15, Gzip enabled