What are the uses of cin.exceptions(cin.failbit) in Competitive Programming?

Revision en1, by Qualified, 2020-10-08 19:23:19

I have been seeing this used in people's codes and wondered what are the uses of this in Competitive Programming? I am genuinely curious.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Qualified 2020-10-08 19:23:19 213 Initial revision (published)