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_17415352_19696.cpp:2:4: error: stray '#' in program
  2 #include <algorithm>
    ^
0_0_17415352_19696.cpp:4:4: error: stray '#' in program
  4 #define N 500
    ^
0_0_17415352_19696.cpp:5:4: error: stray '#' in program
  5 #define M 5000
    ^
0_0_17415352_19696.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include <algorithm>
  ^
0_0_17415352_19696.cpp:4:2: error: expected unqualified-id before numeric constant
  4 #define N 500
  ^
0_0_17415352_19696.cpp:11:5: error: 'items' does not name a type
 11 }items[N + 5];  //store items
     ^
0_0_17415352_19696.cpp:12:1: error: expected unqualified-id before numeric constant
 12 int f[M + 5];   //the kernel array 
 ^
0_0_17415352_19696.cpp:13:1: error: expected unqualified-id before numeric constant
 13 bool compare(Item item1, Item item2)  //for using the sort function
 ^
0_0_17415352_19696.cpp:17:1: error: expected unqualified-id before numeric constant
 17 int main()
 ^


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 21:59:47, Gzip enabled