1st Solution: 51715643 | CodeChef. (correct)
2nd Solution: 51715752 | CodeChef. (TLE)
The only difference in the above two code is at line no.4 (int in 1st and LL in 2nd)
Please tell me why this is happening ??
When to use LL and when to use int ??
What should i do to avoid such things from next time ??
Different doubt in same question
1st. Solution: 51716541 | CodeChef. (correct)
2nd Solution: 51716633 | CodeChef (TLE)
Here the only difference is at line 29 . I dont think the way we write if else statement affect the time of our code . Then why such behaviour with different syntax