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_21593919_50.cpp:64:12: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
            ^
0_0_21593919_50.cpp:64:18: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                  ^
0_0_21593919_50.cpp:64:30: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                              ^
0_0_21593919_50.cpp:64:36: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                    ^
0_0_21593919_50.cpp:64:48: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                ^
0_0_21593919_50.cpp:64:52: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                    ^
0_0_21593919_50.cpp:64:54: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                      ^
0_0_21593919_50.cpp:64:66: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                  ^
0_0_21593919_50.cpp:64:72: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                        ^
0_0_21593919_50.cpp:64:84: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                                    ^
0_0_21593919_50.cpp:64:90: error: stray '#' in program
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                                          ^
0_0_21593919_50.cpp:74:12: error: stray '#' in program
    if (x=='.') map[k][i][j]=0;
            ^
0_0_21593919_50.cpp:74:18: error: stray '#' in program
    if (x=='.') map[k][i][j]=0;
                  ^
0_0_21593919_50.cpp:75:12: error: stray '#' in program
    if (x=='*') map[k][i][j]=1;
            ^
0_0_21593919_50.cpp:75:18: error: stray '#' in program
    if (x=='*') map[k][i][j]=1;
                  ^
0_0_21593919_50.cpp:76:12: error: stray '#' in program
    if (x=='#') map[k][i][j]=2;
            ^
0_0_21593919_50.cpp:76:16: error: stray '#' in program
    if (x=='#') map[k][i][j]=2;
                ^
0_0_21593919_50.cpp:76:18: error: stray '#' in program
    if (x=='#') map[k][i][j]=2;
                  ^
0_0_21593919_50.cpp:77:12: error: stray '#' in program
    if (x=='P') map[k][i][j]=3;
            ^
0_0_21593919_50.cpp:77:18: error: stray '#' in program
    if (x=='P') map[k][i][j]=3;
                  ^
0_0_21593919_50.cpp:78:12: error: stray '#' in program
    if (x=='S'){
            ^
0_0_21593919_50.cpp:78:18: error: stray '#' in program
    if (x=='S'){
                  ^
0_0_21593919_50.cpp: In function 'void getChar(char&)':
0_0_21593919_50.cpp:64:13: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
             ^
0_0_21593919_50.cpp:64:15: error: expected ')' before ';' token
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
               ^
0_0_21593919_50.cpp:64:16: error: expected primary-expression before '.' token
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                ^
0_0_21593919_50.cpp:64:17: error: expected unqualified-id before '&' token
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                 ^
0_0_21593919_50.cpp:64:31: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                               ^
0_0_21593919_50.cpp:64:37: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                     ^
0_0_21593919_50.cpp:64:49: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                 ^
0_0_21593919_50.cpp:64:55: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                       ^
0_0_21593919_50.cpp:64:67: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                   ^
0_0_21593919_50.cpp:64:70: error: 'P' was not declared in this scope
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                      ^
0_0_21593919_50.cpp:64:85: error: lvalue required as unary '&' operand
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                                     ^
0_0_21593919_50.cpp:64:88: error: 'S' was not declared in this scope
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                                        ^
0_0_21593919_50.cpp:64:94: error: expected primary-expression before ')' token
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                                                                                              ^
0_0_21593919_50.cpp:64:26: error: label 'x' used but not defined
  while(x!='.' && x!='*' && x!='#' && x!='P' && x!='S') scanf("%c",&x);
                          ^
0_0_21593919_50.cpp: In function 'void SolveProblem()':
0_0_21593919_50.cpp:74:13: error: lvalue required as unary '&' operand
    if (x=='.') map[k][i][j]=0;
             ^
0_0_21593919_50.cpp:74:15: error: expected ')' before ';' token
    if (x=='.') map[k][i][j]=0;
               ^
0_0_21593919_50.cpp:74:16: error: expected primary-expression before '.' token
    if (x=='.') map[k][i][j]=0;
                ^
0_0_21593919_50.cpp:74:17: error: expected unqualified-id before '&' token
    if (x=='.') map[k][i][j]=0;
                 ^
0_0_21593919_50.cpp:74:22: error: expected primary-expression before ')' token
    if (x=='.') map[k][i][j]=0;
                      ^
0_0_21593919_50.cpp:75:13: error: lvalue required as unary '&' operand
    if (x=='*') map[k][i][j]=1;
             ^
0_0_21593919_50.cpp:75:15: error: expected ')' before ';' token
    if (x=='*') map[k][i][j]=1;
               ^
0_0_21593919_50.cpp:75:19: error: lvalue required as unary '&' operand
    if (x=='*') map[k][i][j]=1;
                   ^
0_0_21593919_50.cpp:75:22: error: expected primary-expression before ')' token
    if (x=='*') map[k][i][j]=1;
                      ^
0_0_21593919_50.cpp:76:13: error: lvalue required as unary '&' operand
    if (x=='#') map[k][i][j]=2;
             ^
0_0_21593919_50.cpp:76:15: error: expected ')' before ';' token
    if (x=='#') map[k][i][j]=2;
               ^
0_0_21593919_50.cpp:76:19: error: lvalue required as unary '&' operand
    if (x=='#') map[k][i][j]=2;
                   ^
0_0_21593919_50.cpp:76:22: error: expected primary-expression before ')' token
    if (x=='#') map[k][i][j]=2;
                      ^
0_0_21593919_50.cpp:77:13: error: lvalue required as unary '&' operand
    if (x=='P') map[k][i][j]=3;
             ^
0_0_21593919_50.cpp:77:15: error: expected ')' before ';' token
    if (x=='P') map[k][i][j]=3;
               ^
0_0_21593919_50.cpp:77:16: error: 'P' was not declared in this scope
    if (x=='P') map[k][i][j]=3;
                ^
0_0_21593919_50.cpp:77:22: error: expected primary-expression before ')' token
    if (x=='P') map[k][i][j]=3;
                      ^
0_0_21593919_50.cpp:78:13: error: lvalue required as unary '&' operand
    if (x=='S'){
             ^
0_0_21593919_50.cpp:78:15: error: expected ')' before ';' token
    if (x=='S'){
               ^
0_0_21593919_50.cpp:78:16: error: 'S' was not declared in this scope
    if (x=='S'){
                ^
0_0_21593919_50.cpp:78:22: error: expected primary-expr


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.015600(s) query 1, Server time : 2024-11-24 23:11:00, Gzip enabled