Hi i am a beginner and i want to know if anyone use Fortran because i am having problems with my codes and nobody answer me why i am getting wrong answer in many of my submits
because in ur dumpling question … proper optimization is required…all languages are good just the logic of the person vary… don’t worry check ur code u will get the green tick
I too got a wrong answer… though my logic seemed to tally with those who got correct answers.
This is probably because the format of a Fortran answer is not as flexible as in C. So Fortran outputs often start with preceding zeroes before the first digit. …But not sure-- will have to try in C and verify !