求救大佬!!

文件读写怎么用???

2 个赞

freopen

1 个赞

具体像这样
freopen(“202409C.in”, “r”, stdin);
freopen(“202409C.out”, “w”, stdout);

1 个赞

懂啦