0_0_21869587_1416.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstdio>
^
0_0_21869587_1416.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <cmath>
^
0_0_21869587_1416.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstring>
^
0_0_21869587_1416.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include <iostream>
^
0_0_21869587_1416.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include <algorithm>
^
0_0_21869587_1416.cpp:6:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_21869587_1416.cpp:6:21: error: expected identifier before '&' token
using namespace std;
^
0_0_21869587_1416.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_21869587_1416.cpp:6:27: error: 'std' does not name a type
using namespace std;
^
0_0_21869587_1416.cpp:7:5: error: 'nbsp' declared as reference but not initialized
int n,m;
^
0_0_21869587_1416.cpp:7:10: error: 'n' does not name a type
int n,m;
^
0_0_21869587_1416.cpp:8:5: error: redefinition of 'int& nbsp'
int const MAXN = 200000;
^
0_0_21869587_1416.cpp:7:5: note: 'int& nbsp' previously declared here
int n,m;
^
0_0_21869587_1416.cpp:8:16: error: conflicting declaration 'const int& nbsp'
int const MAXN = 200000;
^
0_0_21869587_1416.cpp:7:5: note: previous declaration as 'int& nbsp'
int n,m;
^
0_0_21869587_1416.cpp:8:21: error: 'MAXN' does not name a type
int const MAXN = 200000;
^
0_0_21869587_1416.cpp:8:31: error: expected unqualified-id before '=' token
int const MAXN = 200000;
^
0_0_21869587_1416.cpp:8:38: error: expected unqualified-id before numeric constant
int const MAXN = 200000;
^
0_0_21869587_1416.cpp:9:5: error: redefinition of 'int& nbsp'
int sum[MAXN<<2];
^
0_0_21869587_1416.cpp:7:5: note: 'int& nbsp' previously declared here
int n,m;
^
0_0_21869587_1416.cpp:9:10: error: 'sum' does not name a type
int sum[MAXN<<2];
^
0_0_21869587_1416.cpp:10:5: error: redefinition of 'int& nbsp'
int gmax(int a,int b)
^
0_0_21869587_1416.cpp:7:5: note: 'int& nbsp' previously declared here
int n,m;
^
0_0_21869587_1416.cpp:10:23: error: expected ')' before ';' token
int gmax(int a,int b)
^
0_0_21869587_1416.cpp:10:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_21869587_1416.cpp:10:24: error: 'a' does not name a type
int gmax(int a,int b)
^
0_0_21869587_1416.cpp:10:35: error: 'b' does not name a type
int gmax(int a,int b)
^
0_0_21869587_1416.cpp:14:6: error: cannot declare reference to 'void'
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:14:6: error: variable or field 'nbsp' declared void
0_0_21869587_1416.cpp:14:26: error: expected ')' before ';' token
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:14:26: error: expected constructor, destructor, or type conversion before ';' token
0_0_21869587_1416.cpp:14:27: error: 'a' does not name a type
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:14:38: error: 'now' does not name a type
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:14:51: error: 'L' does not name a type
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:14:62: error: 'R' does not name a type
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:14:73: error: 'st' does not name a type
void update(int a,int now,int L,int R,int st)
^
0_0_21869587_1416.cpp:26:5: error: redefinition of 'int& nbsp'
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:7:5: note: 'int& nbsp' previously declared here
int n,m;
^
0_0_21869587_1416.cpp:26:24: error: expected ')' before ';' token
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:26:24: error: expected constructor, destructor, or type conversion before ';' token
0_0_21869587_1416.cpp:26:25: error: 'l' does not name a type
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:26:36: error: 'r' does not name a type
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:26:47: error: 'L' does not name a type
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:26:58: error: 'R' does not name a type
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:26:69: error: 'st' does not name a type
int query(int l,int r,int L,int R,int st)
^
0_0_21869587_1416.cpp:37:5: error: redefinition of 'int& nbsp'
int main()
^
0_0_21869587_1416.cpp:7:5: note: 'int& nbsp' previously declared here
int n,m;
^
0_0_21869587_1416.cpp: In function 'int main()':
0_0_21869587_1416.cpp:39:45: error: 'n' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_21869587_1416.cpp:39:48: error: 'm' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_21869587_1416.cpp:39:49: error: 'scanf' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_21869587_1416.cpp:39:52: error: 'EOF' was not declared in this scope
while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_21869587_1416.cpp:41:53: error: 'nbsp' declared as reference but not initialized
int a,b;
^
0_0_21869587_1416.cpp:41:58: error: 'a' was not declared in this scope
int a,b;
^
0_0_21869587_1416.cpp:41:60: error: 'b' was not declared in this scope
int a,b;
^
0_0_21869587_1416.cpp:42:54: error: conflicting declaration 'char& nbsp'
char t[5];
^
0_0_21869587_1416.cpp:41:53: note: previous declaration as 'int& nbsp'
int a,b;
^
0_0_21869587_1416.cpp:42:59: error: 't' was not declared in this scope
char t[5];
^
0_0_21869587_1416.cpp:43:56: error: 'sum' was not declared in this scope
memset(sum,0,sizeof(sum));
^
0_0_21869587_1416.cpp:43:73: error: 'memset' was not declared in this scope
memset(sum,0,sizeof(sum));
^
0_0_21869587_1416.cpp:44:57: error: 'nbsp' declared as reference but not initialized
for(int i=1; i<=n; i++){
^
0_0_21869587_1416.cpp:44:62: error: 'i' was not declared in this scope
for(int i=1; i<=n; i++){
^
0_0_21869587_1416.cpp:44:71: error: expected ')' before ';' token
for(int i=1; i<=n; i++){
^
0_0_21869587_1416.cpp:44:72: error: 'i' was not declared in this scope
for(int i=1; i<=n; i++){
^
0_0_21869587_1416.c
|