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_36017160_23840.cpp: In function 'int main()':
0_0_36017160_23840.cpp:12:20: error: storage size of 's' isn't known
             char s[];
                    ^
0_0_36017160_23840.cpp:13:19: error: expected primary-expression before ';' token
             int p=;
                   ^
0_0_36017160_23840.cpp:18:27: error: expected primary-expression before ';' token
                 for(int i=;i<n;i++){
                           ^
0_0_36017160_23840.cpp:20:33: error: expected primary-expression before '<' token
                         if(c[i]-<'A')c[i]=c[i]-+'Z'-'A';
                                 ^
0_0_36017160_23840.cpp:21:36: error: expected primary-expression before ';' token
                         else c[i]-=;
                                    ^
0_0_36017160_23840.cpp:29:23: error: expected primary-expression before ';' token
             for(int i=;i<p-;i++)cout<<s[i];
                       ^
0_0_36017160_23840.cpp:29:28: error: expected primary-expression before ';' token
             for(int i=;i<p-;i++)cout<<s[i];
                            ^
0_0_36017160_23840.cpp:34:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^


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-17 08:32:36, Gzip enabled