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_21595090_15841.cpp:33:15: error: stray '#' in program
         case 'F':
               ^
0_0_21595090_15841.cpp:33:21: error: stray '#' in program
         case 'F':
                     ^
0_0_21595090_15841.cpp:36:24: error: stray '#' in program
                 if(d=='E'){
                        ^
0_0_21595090_15841.cpp:36:30: error: stray '#' in program
                 if(d=='E'){
                              ^
0_0_21595090_15841.cpp:39:29: error: stray '#' in program
                 else if(d=='W'){
                             ^
0_0_21595090_15841.cpp:39:35: error: stray '#' in program
                 else if(d=='W'){
                                   ^
0_0_21595090_15841.cpp:42:29: error: stray '#' in program
                 else if(d=='N'){
                             ^
0_0_21595090_15841.cpp:42:35: error: stray '#' in program
                 else if(d=='N'){
                                   ^
0_0_21595090_15841.cpp:45:29: error: stray '#' in program
                 else if(d=='S'){
                             ^
0_0_21595090_15841.cpp:45:35: error: stray '#' in program
                 else if(d=='S'){
                                   ^
0_0_21595090_15841.cpp:53:15: error: stray '#' in program
         case 'L':
               ^
0_0_21595090_15841.cpp:53:21: error: stray '#' in program
         case 'L':
                     ^
0_0_21595090_15841.cpp:56:24: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='N';
                        ^
0_0_21595090_15841.cpp:56:30: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='N';
                              ^
0_0_21595090_15841.cpp:56:61: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='N';
                                                             ^
0_0_21595090_15841.cpp:56:67: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='N';
                                                                   ^
0_0_21595090_15841.cpp:57:29: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='S';
                             ^
0_0_21595090_15841.cpp:57:35: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='S';
                                   ^
0_0_21595090_15841.cpp:57:66: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='S';
                                                                  ^
0_0_21595090_15841.cpp:57:72: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='S';
                                                                        ^
0_0_21595090_15841.cpp:58:29: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='W';
                             ^
0_0_21595090_15841.cpp:58:35: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='W';
                                   ^
0_0_21595090_15841.cpp:58:66: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='W';
                                                                  ^
0_0_21595090_15841.cpp:58:72: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='W';
                                                                        ^
0_0_21595090_15841.cpp:59:29: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='E';
                             ^
0_0_21595090_15841.cpp:59:35: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='E';
                                   ^
0_0_21595090_15841.cpp:59:66: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='E';
                                                                  ^
0_0_21595090_15841.cpp:59:72: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='E';
                                                                        ^
0_0_21595090_15841.cpp:64:15: error: stray '#' in program
         case 'R':
               ^
0_0_21595090_15841.cpp:64:21: error: stray '#' in program
         case 'R':
                     ^
0_0_21595090_15841.cpp:67:24: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='S';
                        ^
0_0_21595090_15841.cpp:67:30: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='S';
                              ^
0_0_21595090_15841.cpp:67:61: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='S';
                                                             ^
0_0_21595090_15841.cpp:67:67: error: stray '#' in program
                 if(d=='E') v[no_robot-1].direction='S';
                                                                   ^
0_0_21595090_15841.cpp:68:29: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='N';
                             ^
0_0_21595090_15841.cpp:68:35: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='N';
                                   ^
0_0_21595090_15841.cpp:68:66: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='N';
                                                                  ^
0_0_21595090_15841.cpp:68:72: error: stray '#' in program
                 else if(d=='W') v[no_robot-1].direction='N';
                                                                        ^
0_0_21595090_15841.cpp:69:29: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='E';
                             ^
0_0_21595090_15841.cpp:69:35: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='E';
                                   ^
0_0_21595090_15841.cpp:69:66: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='E';
                                                                  ^
0_0_21595090_15841.cpp:69:72: error: stray '#' in program
                 else if(d=='N') v[no_robot-1].direction='E';
                                                                        ^
0_0_21595090_15841.cpp:70:29: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='W';
                             ^
0_0_21595090_15841.cpp:70:35: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='W';
                                   ^
0_0_21595090_15841.cpp:70:66: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='W';
                                                                  ^
0_0_21595090_15841.cpp:70:72: error: stray '#' in program
                 else if(d=='S') v[no_robot-1].direction='W';
                                                                        ^
0_0_21595090_15841.cpp: In function 'bool operation(int, char, int)':
0_0_21595090_15841.cpp:33:16: error: lvalue required as unary '&' operand
         case 'F':
                ^
0_0_21595090_15841.cpp:33:18: error: expected ':' before ';' token
         case 'F':
                  ^
0_0_21595090_15841.cpp:33:19: error: 'F' was not declared in this scope
         case 'F':
                   ^
0_0_21595090_15841.cpp:33:25: error: expected primary-expression before ':' token
         case 'F':
                         ^
0_0_21595090_15841.cpp:34:25: error: 'i' was not declared in this scope
             for(int i=0;i<repeat;i++){
                         ^
0_0_21595090_15841.cpp:53:16: error: lvalue required as unary '&' operand
         case 'L':
                ^
0_0_21595090_15841.cpp:53:18: error: expected ':' before ';' token
         case 'L':
                  ^
0_0_21595090_15841.cpp:53:19: error: 'L' was not declared in this scope
         case 'L':
                   ^
0_0_21595090_15841.cpp:53:25: error: expected primary-expression before ':' token
         case 'L':
                         ^
0_0_21595090_15841.cpp:64:16: error: lvalue required as unary '&' operand
         case 'R':
                ^
0_0_21595090_15841.cpp:64:18: error: expected ':' before ';' token
         case 'R':
                  ^
0_0_21595090_15841.cpp:64:19: error: 'R' was not declared in this scope
         case 'R':
                   ^
0_0_21595090_15841.cpp:64:25: error: expected primary-expression before ':' token
         case 'R':
                         ^


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-06-16 04:55:22, Gzip enabled