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_23173318_4565.cpp: In function 'int main()':
0_0_23173318_4565.cpp:5:2: error: 'nbsp' was not declared in this scope
     char ch[3],temp;
  ^
0_0_23173318_4565.cpp:9:48: error: 'i' was not declared in this scope
         for(i=0;i<3;i++)
                                                ^
0_0_23173318_4565.cpp:21:48: error: 'i' was not declared in this scope
         for(i=0;i<3;i++)
                                                ^
0_0_23173318_4565.cpp:22:47: error: 'i' was not declared in this scope
         if(i!=2)printf("%c ",ch[i]);
                                               ^
0_0_23173318_4565.cpp:23:44: error: 'else' without a previous 'if'
         else printf("%c\n",ch[i]);
                                            ^
0_0_23173318_4565.cpp:23:66: error: 'i' was not declared in this scope
         else printf("%c\n",ch[i]);
                                                                  ^


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-18 17:21:22, Gzip enabled