Re: [gcj] idk whats wrong with my code can anyone help?parenting partnering returns

2020-04-07 Thread Nikhil Kataria
Hi, I had implemented the code in the same way but I printed the output in the order the jobs arrived in the input not the sorted one which I implemented in the code. That's how I was able to solve the problem. Thanks and Regards, Nikhil Kataria On Tue, Apr 7, 2020 at 6:13 AM DEVANSH CHAUDHARY w

[gcj] idk whats wrong with my code can anyone help?parenting partnering returns

2020-04-06 Thread DEVANSH CHAUDHARY
#include int main(){ int t,x=1; scanf("%d",&t); while(t--) { int n,i,j,d=0; scanf("%d",&n); int s[n],e[n]; char p[n]; for(i=0;is[j])||(e[i]s[j])) { d=1; break;