problem link : https://toph.co/p/special-triplet
In the very first statement there was mentioned any three points…then given example shouldn’t be specific. The code I have written is in simple C:
#include <stdio.h>
int main() {
int x;
scanf("%d",&x);
int a=x/3;
int b= x-(a*2);
printf ("%d %d %d\n",a,a,b);
return 0;
}
with a very simple approach I finished my code considering the given statement. but while testing it shows internal error, and it does not give any verdict after submitting. With all due respect, I want the authority to look into the problem. My opinion is either the statement should be more precise or the judgement should be proper as the statement given.