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_21599550_21415.cpp:41:17: error: stray '#' in program
     if(str[j]=='?'){
                 ^
0_0_21599550_21415.cpp:41:23: error: stray '#' in program
     if(str[j]=='?'){
                       ^
0_0_21599550_21415.cpp:47:24: error: stray '#' in program
      map[i][j]=str[j]-'0';
                        ^
0_0_21599550_21415.cpp:47:30: error: stray '#' in program
      map[i][j]=str[j]-'0';
                              ^
0_0_21599550_21415.cpp: In function 'int main()':
0_0_21599550_21415.cpp:41:18: error: lvalue required as unary '&' operand
     if(str[j]=='?'){
                  ^
0_0_21599550_21415.cpp:41:20: error: expected ')' before ';' token
     if(str[j]=='?'){
                    ^
0_0_21599550_21415.cpp:41:21: error: expected primary-expression before '?' token
     if(str[j]=='?'){
                     ^
0_0_21599550_21415.cpp:41:24: error: lvalue required as unary '&' operand
     if(str[j]=='?'){
                        ^
0_0_21599550_21415.cpp:41:26: error: expected ':' before ';' token
     if(str[j]=='?'){
                          ^
0_0_21599550_21415.cpp:41:26: error: expected primary-expression before ';' token
0_0_21599550_21415.cpp:41:27: error: expected primary-expression before ')' token
     if(str[j]=='?'){
                           ^
0_0_21599550_21415.cpp:46:5: error: 'else' without a previous 'if'
     else{
     ^
0_0_21599550_21415.cpp:47:25: error: lvalue required as unary '&' operand
      map[i][j]=str[j]-'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-07-01 20:09:36, Gzip enabled