Why is this wrong for this Problem?
https://codeforces.com/problemset/problem/483/A
Why is this wrong for this Problem?
hello @cbcao263
u are not checking coprime correclty.
if a%b!=0 is not sufficient condition for coprime.
for example
4, 6
6%4!=0 , but they are not coprime .right ?
because 2 is a common factor for them.
solution for this problem is ->
print any three consecutive number (but starting element should be even)
a, a+1,a+2 where a should be even
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.