Thêm vào đầu mỗi bài để đọc file, lưu ý đặt tên đúng với yêu cầu mỗi bài.
Python
import sys
sys.stdin = open("chiahet.inp", "r")
sys.stdout = open("chiahet.out", "w")
Bình luận