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_29475813_12445.cpp:2:14: error: '_Bool' does not name a type
 #define bool _Bool  
              ^
0_0_29475813_12445.cpp:8:1: note: in expansion of macro 'bool'
 bool rightmove(int index)  
 ^
0_0_29475813_12445.cpp:2:14: error: '_Bool' does not name a type
 #define bool _Bool  
              ^
0_0_29475813_12445.cpp:18:1: note: in expansion of macro 'bool'
 bool leftmove(int index)  
 ^
0_0_29475813_12445.cpp: In function 'int main()':
0_0_29475813_12445.cpp:39:25: error: 'strlen' was not declared in this scope
         len=strlen(value);  
                         ^
0_0_29475813_12445.cpp:49:36: error: 'leftmove' was not declared in this scope
                 else if( leftmove(i) ) ans+=50;  
                                    ^
0_0_29475813_12445.cpp:52:37: error: 'rightmove' was not declared in this scope
                 else if( rightmove(i) ) ans+=50;  
                                     ^
0_0_29475813_12445.cpp:56:31: error: 'leftmove' was not declared in this scope
                 if( leftmove(i) ) ans+=100;  
                               ^
0_0_29475813_12445.cpp:61:32: error: 'rightmove' was not declared in this scope
                 if( rightmove(i) ) ans+=100;  
                                ^


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-25 07:11:57, Gzip enabled