Fast input output in c

0 votes
In a programming question, I need to enter a huge number in the range of 1 to 10000.

The question suggests using a fast I/O mechanism.

Fast input/output in competitive programming was too complicated for me.

So, could somebody kindly suggest me a quicker technique to acquire fast io?

Also, please tell me if using gets followed by atoi() is faster than using scanf(%d) to take integers as input.
Aug 26, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4 43 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP