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_21599838_9487.cpp:82:25: error: stray '#' in program
             if(ans[i]!='0')break;
                         ^
0_0_21599838_9487.cpp:82:31: error: stray '#' in program
             if(ans[i]!='0')break;
                               ^
0_0_21599838_9487.cpp:87:22: error: stray '#' in program
             mem(ans,'\0');
                      ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:87:13: error: stray '\' in program
             mem(ans,'\0');
             ^
0_0_21599838_9487.cpp:87:29: error: stray '#' in program
             mem(ans,'\0');
                             ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:91:18: error: stray '#' in program
         mem(ans,'\0');
                  ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:91:9: error: stray '\' in program
         mem(ans,'\0');
         ^
0_0_21599838_9487.cpp:91:25: error: stray '#' in program
         mem(ans,'\0');
                         ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp: In function 'int main()':
0_0_21599838_9487.cpp:82:26: error: lvalue required as unary '&' operand
             if(ans[i]!='0')break;
                          ^
0_0_21599838_9487.cpp:82:28: error: expected ')' before ';' token
             if(ans[i]!='0')break;
                            ^
0_0_21599838_9487.cpp:82:35: error: expected primary-expression before ')' token
             if(ans[i]!='0')break;
                                   ^
0_0_21599838_9487.cpp:87:23: error: lvalue required as unary '&' operand
             mem(ans,'\0');
                       ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:87:25: error: expected ')' before ';' token
             mem(ans,'\0');
                         ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:22:29: error: expected primary-expression before ')' token
 #define mem(a,b) memset(a,(b),sizeof(a))
                             ^
0_0_21599838_9487.cpp:87:13: note: in expansion of macro 'mem'
             mem(ans,'\0');
             ^
0_0_21599838_9487.cpp:91:19: error: lvalue required as unary '&' operand
         mem(ans,'\0');
                   ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:91:21: error: expected ')' before ';' token
         mem(ans,'\0');
                     ^
0_0_21599838_9487.cpp:22:28: note: in definition of macro 'mem'
 #define mem(a,b) memset(a,(b),sizeof(a))
                            ^
0_0_21599838_9487.cpp:22:29: error: expected primary-expression before ')' token
 #define mem(a,b) memset(a,(b),sizeof(a))
                             ^
0_0_21599838_9487.cpp:91:9: note: in expansion of macro 'mem'
         mem(ans,'\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-12-02 12:27:11, Gzip enabled