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_21595046_7547.cpp:46:30: error: stray '#' in program
                 if(A[i][j]=='R')dp[i][j]=0;
                              ^
0_0_21595046_7547.cpp:46:36: error: stray '#' in program
                 if(A[i][j]=='R')dp[i][j]=0;
                                    ^
0_0_21595046_7547.cpp: In function 'int main()':
0_0_21595046_7547.cpp:46:31: error: lvalue required as unary '&' operand
                 if(A[i][j]=='R')dp[i][j]=0;
                               ^
0_0_21595046_7547.cpp:46:33: error: expected ')' before ';' token
                 if(A[i][j]=='R')dp[i][j]=0;
                                 ^
0_0_21595046_7547.cpp:46:34: error: 'R' was not declared in this scope
                 if(A[i][j]=='R')dp[i][j]=0;
                                  ^
0_0_21595046_7547.cpp:46:40: error: expected primary-expression before ')' token
                 if(A[i][j]=='R')dp[i][j]=0;
                                        ^
0_0_21595046_7547.cpp:47:17: error: 'else' without a previous 'if'
                 else{
                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-11 00:15:43, Gzip enabled