Skip to content

rdipika/cin-vs-scanf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cin-vs-scanf

Comparison of execution times when reading input using cin and scanf.

Normally,owing to synchronization with the underlying c library,cin is slower than scanf.

However,with sync_with_stdio() disabled, cin proves faster than scanf in execution ,measured using the clock times.

About

The diiferences in the execution time of programs reading input using cin and scanf operators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages