在编码比赛中我们遇到如下输入:
2 3 4 5
所以我们做了以下事情:
m, n = [int(x) for x in raw_input().split(' ')]
有没有更快的方法做同样的事情?
python performance input
我想了解惰性标志有什么影响。而设置为true或false又是出于什么考虑呢?
flutter bloc
bloc ×1
flutter ×1
input ×1
performance ×1
python ×1