uri

uri 1024 Encryption solution

Uri 1024 – Encryption solution

  • by

This is a basic string manipulation problem to create a basic encryption program. First of all, we see from the given inputs that inputs can be a sentence aka. more than one word in an input. So, we can’t use scanf, cin or any other formatted input functions of c/c++ as those will only take input until space is encountered.… Read More »Uri 1024 – Encryption solution

uri 1024 Encryption solution

URI|1036 Bhaskara’s Formula solution

  • by

Well, the problem says it all. You need to calculate the root of Bhaskara,s Formula. Don’t know Bhaskara’s Formula? It is actually Algebra’s Quadratic Formula. The Quadratic/ Bhaskaras formula is : ax2 + bx + c . And Quadratic Formula’s root is : So, That’s it. We have to just print the positive and negative value of the quadratic formula.… Read More »URI|1036 Bhaskara’s Formula solution