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_35005950_2571.cpp:2:1: error: stray '\312' in program
 使用命名空间std;
 ^
0_0_35005950_2571.cpp:2:1: error: stray '\271' in program
0_0_35005950_2571.cpp:2:1: error: stray '\323' in program
0_0_35005950_2571.cpp:2:1: error: stray '\303' in program
0_0_35005950_2571.cpp:2:1: error: stray '\303' in program
0_0_35005950_2571.cpp:2:1: error: stray '\374' in program
0_0_35005950_2571.cpp:2:1: error: stray '\303' in program
0_0_35005950_2571.cpp:2:1: error: stray '\373' in program
0_0_35005950_2571.cpp:2:1: error: stray '\277' in program
0_0_35005950_2571.cpp:2:1: error: stray '\325' in program
0_0_35005950_2571.cpp:2:1: error: stray '\274' in program
0_0_35005950_2571.cpp:2:1: error: stray '\344' in program
0_0_35005950_2571.cpp:3:1: error: stray '\243' in program
 int main()
 ^
0_0_35005950_2571.cpp:3:1: error: stray '\250' in program
0_0_35005950_2571.cpp:3:1: error: stray '\243' in program
0_0_35005950_2571.cpp:3:1: error: stray '\251' in program
0_0_35005950_2571.cpp:8:1: error: stray '\243' in program
 for(int i = 0; i <n; i ++)
 ^
0_0_35005950_2571.cpp:8:1: error: stray '\250' in program
0_0_35005950_2571.cpp:8:1: error: stray '\243' in program
0_0_35005950_2571.cpp:8:1: error: stray '\251' in program
0_0_35005950_2571.cpp:10:1: error: stray '\243' in program
 for(int j = 0; j <n; j ++)
 ^
0_0_35005950_2571.cpp:10:1: error: stray '\250' in program
0_0_35005950_2571.cpp:10:1: error: stray '\243' in program
0_0_35005950_2571.cpp:10:1: error: stray '\251' in program
0_0_35005950_2571.cpp:2:13: error: 'std' does not name a type
 使用命名空间std;
             ^
0_0_35005950_2571.cpp:4:2: error: expected primary-expression before 'int'
 {int n;
  ^
0_0_35005950_2571.cpp:4:2: error: expected '}' before 'int'
0_0_35005950_2571.cpp:4:2: error: expected ',' or ';' before 'int'
0_0_35005950_2571.cpp:5:1: error: 'cin' does not name a type
 cin >> n;
 ^
0_0_35005950_2571.cpp:6:20: error: 'n' was not declared in this scope
 int * a = new int [n];
                    ^
0_0_35005950_2571.cpp:7:20: error: 'n' was not declared in this scope
 int * b = new int [n];
                    ^
0_0_35005950_2571.cpp:8:1: error: expected unqualified-id before 'for'
 for(int i = 0; i <n; i ++)
 ^
0_0_35005950_2571.cpp:8:17: error: 'i' does not name a type
 for(int i = 0; i <n; i ++)
                 ^
0_0_35005950_2571.cpp:8:23: error: 'i' does not name a type
 for(int i = 0; i <n; i ++)
                       ^
0_0_35005950_2571.cpp:10:1: error: expected unqualified-id before 'for'
 for(int j = 0; j <n; j ++)
 ^
0_0_35005950_2571.cpp:10:17: error: 'j' does not name a type
 for(int j = 0; j <n; j ++)
                 ^
0_0_35005950_2571.cpp:10:23: error: 'j' does not name a type
 for(int j = 0; j <n; j ++)
                       ^
0_0_35005950_2571.cpp:12: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-07-07 06:30:57, Gzip enabled