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_35052956_8871.cpp:2:1: error: stray '\243' in program
 using namespace std;int main(£©
 ^
0_0_35052956_8871.cpp:2:1: error: stray '\251' in program
0_0_35052956_8871.cpp:3:7: error: expected primary-expression before 'int'
 {     int n,m,a[200],i,sum;    
       ^
0_0_35052956_8871.cpp:3:7: error: expected '}' before 'int'
0_0_35052956_8871.cpp:3:7: error: expected ')' before 'int'
0_0_35052956_8871.cpp:3:13: error: 'm' was not declared in this scope
 {     int n,m,a[200],i,sum;    
             ^
0_0_35052956_8871.cpp:3:15: error: 'a' was not declared in this scope
 {     int n,m,a[200],i,sum;    
               ^
0_0_35052956_8871.cpp:3:22: error: 'i' was not declared in this scope
 {     int n,m,a[200],i,sum;    
                      ^
0_0_35052956_8871.cpp:3:24: error: 'sum' was not declared in this scope
 {     int n,m,a[200],i,sum;    
                        ^
0_0_35052956_8871.cpp:4:2: error: 'cin' does not name a type
  cin>>n;   
  ^
0_0_35052956_8871.cpp:5:3: error: expected unqualified-id before 'while'
   while(n--)     {         sum=0;        
   ^
0_0_35052956_8871.cpp:14:2: error: expected unqualified-id before 'return'
  return 0;}
  ^
0_0_35052956_8871.cpp:14:11: error: expected declaration before '}' token
  return 0;}
           ^


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-26 11:36:25, Gzip enabled