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_15885568_26658.cpp:4:5: error: stray '\243' in program
     int n,i,a[57]={0£¬1£¬2£¬3£¬4};  
     ^
0_0_15885568_26658.cpp:4:5: error: stray '\254' in program
0_0_15885568_26658.cpp:4:5: error: stray '\243' in program
0_0_15885568_26658.cpp:4:5: error: stray '\254' in program
0_0_15885568_26658.cpp:4:5: error: stray '\243' in program
0_0_15885568_26658.cpp:4:5: error: stray '\254' in program
0_0_15885568_26658.cpp:4:5: error: stray '\243' in program
0_0_15885568_26658.cpp:4:5: error: stray '\254' in program
0_0_15885568_26658.cpp: In function 'int main()':
0_0_15885568_26658.cpp:4:23: error: expected '}' before numeric constant
     int n,i,a[57]={0£¬1£¬2£¬3£¬4};  
                       ^
0_0_15885568_26658.cpp:4:23: error: expected ',' or ';' before numeric constant
0_0_15885568_26658.cpp: At global scope:
0_0_15885568_26658.cpp:5:5: error: expected unqualified-id before 'for'
     for(i = 5; i < 55; ++i)  
     ^
0_0_15885568_26658.cpp:5:16: error: 'i' does not name a type
     for(i = 5; i < 55; ++i)  
                ^
0_0_15885568_26658.cpp:5:24: error: expected unqualified-id before '++' token
     for(i = 5; i < 55; ++i)  
                        ^
0_0_15885568_26658.cpp:7:5: error: expected unqualified-id before 'while'
     while(~scanf("%d",&n)&&n>0)  
     ^
0_0_15885568_26658.cpp:11:1: error: expected declaration before '}' token
 }  
 ^


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-12-03 19:18:31, Gzip enabled