VS里没法用freopen(),所以用freopen_s:
FILE* stream;freopen_s(&stream, "input.txt", "r", stdin);
京公网安备 11010502049817号