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_20981170_25644.cpp: In function 'int main()':
0_0_20981170_25644.cpp:5:17: error: expected primary-expression before '<' token
 #define MAXSIZE <a name=baidusnap1></a><B style='color:black;background-color:#A0FFFF'>4096</B>
                 ^
0_0_20981170_25644.cpp:10:12: note: in expansion of macro 'MAXSIZE'
     char s[MAXSIZE], *t;
            ^
0_0_20981170_25644.cpp:5:18: error: 'a' was not declared in this scope
 #define MAXSIZE <a name=baidusnap1></a><B style='color:black;background-color:#A0FFFF'>4096</B>
                  ^
0_0_20981170_25644.cpp:10:12: note: in expansion of macro 'MAXSIZE'
     char s[MAXSIZE], *t;
            ^
0_0_20981170_25644.cpp:5:20: error: expected ']' before 'name'
 #define MAXSIZE <a name=baidusnap1></a><B style='color:black;background-color:#A0FFFF'>4096</B>
                    ^
0_0_20981170_25644.cpp:10:12: note: in expansion of macro 'MAXSIZE'
     char s[MAXSIZE], *t;
            ^
0_0_20981170_25644.cpp:18:21: error: 's' was not declared in this scope
         scanf("%s", s);
                     ^
0_0_20981170_25644.cpp:21:9: error: 't' was not declared in this scope
         t = s;
         ^


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-22 08:26:37, Gzip enabled