When is it faster to use sys.stdin over using input()?

后端 未结 0 1256
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 08:26

I noticed that most of times using sys.stdin to take input is pretty much faster than using input(),

Example : (simple code to sum lines of integers)

f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题