@Pranjal Jain
–
Wheyy....you know python too? I thought you used C++ for CS!
–
Krishna Ar
·
2 years, 3 months ago

Log in to reply

@Krishna Ar
–
Yeah I learnt python about a month ago due to lack of required data types in C++. Also, I am posting solutions in python now-a-days.
–
Pranjal Jain
·
2 years, 3 months ago

@Bryan Lee Shi Yang
–
I do not like pythonic answers, I like traditional mathematical thinking and logical reasoning. Any body has a mathematical answer?
–
Swapnil Das
·
2 years, 2 months ago

## Comments

Sort by:

TopNewestThis seems to be a number theory problem, but here's my python solution for this.

Log in to reply

– Krishna Ar · 2 years, 3 months ago

Wheyy....you know python too? I thought you used C++ for CS!Log in to reply

– Pranjal Jain · 2 years, 3 months ago

Yeah I learnt python about a month ago due to lack of required data types in C++. Also, I am posting solutions in python now-a-days.Log in to reply

– Krishna Ar · 2 years, 3 months ago

Amazing.Log in to reply

– Karthik Venkata · 2 years, 3 months ago

Can I call this "Python Jugaad" :P ?Log in to reply

– Pranjal Jain · 2 years, 3 months ago

Lol sureLog in to reply

– Bryan Lee Shi Yang · 2 years, 3 months ago

Haha maybe "Python Pranjal".Log in to reply

– Swapnil Das · 2 years, 2 months ago

I do not like pythonic answers, I like traditional mathematical thinking and logical reasoning. Any body has a mathematical answer?Log in to reply