原题
A. Doremys Paint 3
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
An array 𝑏1,𝑏2,…,𝑏𝑛�1,�2,…,�&a…
由于windows上面没有类似linux上面的tailf命令,所以下面的python脚本来代替其能力。
tailf.py
import re
import timeimport os
import argparsedef follow(thefile):thefile.seek(0, os.SEEK_END)while True:_line thefile.readline()if not _line:time.sleep(0…