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, long long int)’:
game.cpp:27:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({yTree[num].s,(yTree[num].s+yTree[num].e)/2,-1,-1,0});
^
game.cpp:27:81: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({yTree[num].s,(yTree[num].s+yTree[num].e)/2,-1,-1,0});
^
game.cpp:38:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({(yTree[num].s+yTree[num].e)/2+1,yTree[num].e,-1,-1,0});
^
game.cpp:38:83: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({(yTree[num].s+yTree[num].e)/2+1,yTree[num].e,-1,-1,0});
^
game.cpp: In function ‘void xup(int, 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,0});
^
game.cpp:54:38: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,0});
^
game.cpp:66:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({xTree[num].s,(xTree[num].s+xTree[num].e)/2,-1,-1,-1});
^
game.cpp:66:82: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({xTree[num].s,(xTree[num].s+xTree[num].e)/2,-1,-1,-1});
^
game.cpp:75:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({(xTree[num].s+xTree[num].e)/2+1,xTree[num].e,-1,-1,-1});
^
game.cpp:75:84: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({(xTree[num].s+xTree[num].e)/2+1,xTree[num].e,-1,-1,-1});
^
game.cpp: In function ‘void init(int, int)’:
game.cpp:106:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({0,X,-1,-1,0});
^
game.cpp:106:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
xTree.push_back({0,X,-1,-1,0});
^
game.cpp:107:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,0});
^
game.cpp:107:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
yTree.push_back({0,X,-1,-1,0});
^
game.cpp: In function ‘void update(int, int, long long int)’:
game.cpp:112:16: error: too many arguments to function ‘void xup(int, int)’
xup(0,P,Q,K);
^
game.cpp:49:6: note: declared here
void xup(int num,int xco)
^