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()
^
|