grader.c: In function ‘int main()’:
grader.c:18:6: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
int res;
^
game.cpp: In function ‘void yup(int, int, int, int, int, int, long long int)’:
game.cpp:27:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({s1,(s1+e1)/2,-1,-1,-1,0});
^
game.cpp:27:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({s1,(s1+e1)/2,-1,-1,-1,0});
^
game.cpp:31:48: error: too few arguments to function ‘void yup(int, int, int, int, int, int, long long int)’
yup(yTree[num].left,num1,num2,xco,yco,v);
^
game.cpp:14:6: note: declared here
void yup(int xnum,int num,int num1,int num2,int xco,int yco,long long v)
^
game.cpp:38:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({(s1+e1)/2+1,e1,-1,-1,-1,0});
^
game.cpp:38:56: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({(s1+e1)/2+1,e1,-1,-1,-1,0});
^
game.cpp:42:49: error: too few arguments to function ‘void yup(int, int, int, int, int, int, long long int)’
yup(yTree[num].right,num1,num2,xco,yco,v);
^
game.cpp:14:6: note: declared here
void yup(int xnum,int num,int num1,int num2,int xco,int yco,long long v)
^
game.cpp: In function ‘void xup(int, int, int, long long int)’:
game.cpp:54:25: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,-1,0});
^
game.cpp:54:41: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,-1,0});
^
game.cpp:58:44: error: too few arguments to function ‘void yup(int, int, int, int, int, int, long long int)’
yup(xTree[num].ynum,-1,-1,xco,yco,v);
^
game.cpp:14:6: note: declared here
void yup(int xnum,int num,int num1,int num2,int xco,int yco,long long v)
^
game.cpp:67:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({s1,(s1+e1)/2,-1,-1,-1,0});
^
game.cpp:67:54: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({s1,(s1+e1)/2,-1,-1,-1,0});
^
game.cpp:76:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({(s1+e1)/2+1,e1,-1,-1,-1,0});
^
game.cpp:76:56: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({(s1+e1)/2+1,e1,-1,-1,-1,0});
^
game.cpp:80:138: error: too few arguments to function ‘void yup(int, int, int, int, int, int, long long int)’
yup(xTree[num].ynum,xTree[num].left==-1?-1:xTree[xTree[num].left].ynum,xTree[num].right==-1?-1:xTree[xTree[num].right].ynum,xco,yco,v);
^
game.cpp:14:6: note: declared here
void yup(int xnum,int num,int num1,int num2,int xco,int yco,long long v)
^
game.cpp: In function ‘void init(int, int)’:
game.cpp:107:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({0,X,-1,-1,0,0});
^
game.cpp:107:36: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({0,X,-1,-1,0,0});
^
game.cpp:108:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,-1,0});
^
game.cpp:108:37: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,-1,0});
^