0_0_21020159_3952.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <iostream>
^
0_0_21020159_3952.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <stack>
^
0_0_21020159_3952.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include <queue>
^
0_0_21020159_3952.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdio>
^
0_0_21020159_3952.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdlib>
^
0_0_21020159_3952.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include <cmath>
^
0_0_21020159_3952.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include <set>
^
0_0_21020159_3952.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include <vector>
^
0_0_21020159_3952.cpp:9:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstring>
^
0_0_21020159_3952.cpp:10:9: error: #include expects "FILENAME" or <FILENAME>
#include <algorithm>
^
0_0_21020159_3952.cpp:12:8: error: macro names must be identifiers
#define INF 0x3fffffff
^
0_0_21020159_3952.cpp:13:8: error: macro names must be identifiers
#define inf -0x3f3f3f3f
^
0_0_21020159_3952.cpp:14:8: error: macro names must be identifiers
#define N 100010
^
0_0_21020159_3952.cpp:15:8: error: macro names must be identifiers
#define M (N << 2)
^
0_0_21020159_3952.cpp:16:8: error: macro names must be identifiers
#define LL long long
^
0_0_21020159_3952.cpp:17:8: error: macro names must be identifiers
#define mod 95041567
^
0_0_21020159_3952.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:18:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:18:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:19:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_21020159_3952.cpp:19:21: error: expected identifier before '&' token
using namespace std;
^
0_0_21020159_3952.cpp:19:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020159_3952.cpp:19:27: error: 'std' does not name a type
using namespace std;
^
0_0_21020159_3952.cpp:19:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020159_3952.cpp:19:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21020159_3952.cpp:20:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:20:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:21:7: error: expected identifier before '&' token
struct Node {
^
0_0_21020159_3952.cpp:21:12: error: invalid type in declaration before ';' token
struct Node {
^
0_0_21020159_3952.cpp:21:12: error: 'nbsp' declared as reference but not initialized
0_0_21020159_3952.cpp:21:13: error: 'Node' does not name a type
struct Node {
^
0_0_21020159_3952.cpp:21:23: error: expected unqualified-id before '{' token
struct Node {
^
0_0_21020159_3952.cpp:24:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_21020159_3952.cpp:24:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_21020159_3952.cpp:25:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:25:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:26:7: error: expected identifier before '&' token
struct Interval{
^
0_0_21020159_3952.cpp:26:12: error: invalid type in declaration before ';' token
struct Interval{
^
0_0_21020159_3952.cpp:26:12: error: redefinition of 'int& nbsp'
0_0_21020159_3952.cpp:21:8: note: 'int& nbsp' previously declared here
struct Node {
^
0_0_21020159_3952.cpp:26:13: error: 'Interval' does not name a type
struct Interval{
^
0_0_21020159_3952.cpp:34:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_21020159_3952.cpp:34:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_21020159_3952.cpp:35:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:35:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:36:1: error: 'Interval' does not name a type
Interval arr[N];
^
0_0_21020159_3952.cpp:36:15: error: 'arr' does not name a type
Interval arr[N];
^
0_0_21020159_3952.cpp:36:27: error: expected constructor, destructor, or type conversion before ';' token
Interval arr[N];
^
0_0_21020159_3952.cpp:36:33: error: expected constructor, destructor, or type conversion before ';' token
Interval arr[N];
^
0_0_21020159_3952.cpp:37:1: error: 'Node' does not name a type
Node tree[M];
^
0_0_21020159_3952.cpp:37:11: error: 'tree' does not name a type
Node tree[M];
^
0_0_21020159_3952.cpp:37:24: error: expected constructor, destructor, or type conversion before ';' token
Node tree[M];
^
0_0_21020159_3952.cpp:37:30: error: expected constructor, destructor, or type conversion before ';' token
Node tree[M];
^
0_0_21020159_3952.cpp:38:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:38:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:39:6: error: cannot declare reference to 'void'
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:39:6: error: variable or field 'nbsp' declared void
0_0_21020159_3952.cpp:39:25: error: expected ')' before ';' token
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:39:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_21020159_3952.cpp:39:26: error: 'rt' does not name a type
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:39:39: error: redefinition of 'int& nbsp'
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:21:8: note: 'int& nbsp' previously declared here
struct Node {
^
0_0_21020159_3952.cpp:39:44: error: 'l' does not name a type
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:39:56: error: redefinition of 'int& nbsp'
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:21:8: note: 'int& nbsp' previously declared here
struct Node {
^
0_0_21020159_3952.cpp:39:61: error: 'r' does not name a type
void build(int rt, int l, int r){
^
0_0_21020159_3952.cpp:48:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21020159_3952.cpp:48:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_21020159_3952.cpp:49:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_21020159_3952.cpp:49:12: error: expected constructor, destructor, or type conversion before ';' token
|