Today is the 16th December, a red letter day of our national history. The whole country equipped wit…
Click here to read the complete problem statement.
If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.
int main() {
int x,y,k;
scanf(“%d%d”,&x,&y);
k = x-y;
if(x == y || y>x || (k%2)) printf(“Not possible”);
else{
k = k/2;
printf(“%d %d\n”,5k,3k);
}
return 0;
}
Shows wrong answer in the third test. Please help.
sir i have faced a problem … i have solved this problem 1 month ago . but i want to see my code but toph.co dont show my code but i really need to see my code… plz tell how i see my code.