We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
struct line
{ long m,c;
};
struct query
{ long l,r,x,y;
};
int check(long,long,long,long,struct line []);
int main()
{ int test,querysize;
scanf("%d",&test);
struct line l[test];
for(int i=0;i
I'm stuck.. Getting timeout after 10th test ;/
any hits to optimize code?
include
include
include
include
struct line { long m,c; }; struct query { long l,r,x,y; }; int check(long,long,long,long,struct line []); int main() { int test,querysize; scanf("%d",&test); struct line l[test]; for(int i=0;i
} int check(long l,long r,long x,long y,struct line p[]) {
}