import sys
import math
try:
sys.stdin = open('input.in', 'r')
sys.stdout = open('output.out', 'w')
except:
pass
finally:
#Actual code here
For python users to save time using little trick to get input from file while running program on local machine.
import sys
import math
try:
sys.stdin = open('input.in', 'r')
sys.stdout = open('output.out', 'w')
except:
pass
finally:
#Actual code here
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en4 |
|
itsSabirHussain | 2020-04-17 01:47:55 | 29 | ||
| en3 |
|
itsSabirHussain | 2020-04-17 01:47:33 | 88 | ||
| en2 |
|
itsSabirHussain | 2020-04-17 01:45:57 | 54 | Tiny change: 'import sys' -> 'Your title here...\n==================import sys' | |
| en1 |
|
itsSabirHussain | 2020-04-17 01:43:39 | 258 | Initial revision (published) |