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_20843090_29624.cpp:11:5: error: stray '\' in program
     for(i=1;i<=wid;i++) cout<<\' \';
     ^
0_0_20843090_29624.cpp:11:5: error: missing terminating ' character
0_0_20843090_29624.cpp:30:13: error: stray '\' in program
             for(j=1;j<=down;j++) cout<<\' \';
             ^
0_0_20843090_29624.cpp:30:13: error: missing terminating ' character
0_0_20843090_29624.cpp:39:13: error: stray '\' in program
             for(j=1;j<=down;j++) cout<<\' \';
             ^
0_0_20843090_29624.cpp:39:13: error: missing terminating ' character
0_0_20843090_29624.cpp: In function 'void print()':
0_0_20843090_29624.cpp:12:5: error: expected primary-expression before 'for'
     for(i=1;i<=down;i++) cout<<c;
     ^
0_0_20843090_29624.cpp:12:24: error: expected ';' before ')' token
     for(i=1;i<=down;i++) cout<<c;
                        ^
0_0_20843090_29624.cpp: In function 'int main()':
0_0_20843090_29624.cpp:31:13: error: expected primary-expression before 'for'
             for(j=1;j<=wid;j++) cout<<c;
             ^
0_0_20843090_29624.cpp:31:31: error: expected ';' before ')' token
             for(j=1;j<=wid;j++) cout<<c;
                               ^
0_0_20843090_29624.cpp:40:13: error: expected primary-expression before 'for'
             for(j=1;j<=wid;j++) cout<<c;
             ^
0_0_20843090_29624.cpp:40:31: error: expected ';' before ')' token
             for(j=1;j<=wid;j++) cout<<c;
                               ^


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 19:35:36, Gzip enabled