Allen Chou says to YSITD 欸問個,`./a.out < infile 2>&1 > outfile`,standard error 會是 output 出來還是進去 outfile