求助大佬们怎么造.in和.out文件啊

灌水区

@[yeshou114514](/user/839556) 直接改后缀名 ~~纪验证码acmr~~
by xbqlht21 @ 2024-04-13 22:52:58


先创建txt ~~纪验证码jydp~~
by xbqlht21 @ 2024-04-13 22:53:49


@[xbqlht21](/user/457794) 可以根据我的样例帮我造一个看看吗?
by yeshou114514 @ 2024-04-13 22:55:19


```cpp #include<bits/stdc++.h> typedef long long ll; using namespace std; int main() { freopen("文件名.in/out","w",stdout); cout<<"样例"; return 0; } ```
by xbqlht21 @ 2024-04-13 22:58:39


首先新建一个文本文档$(.txt文件)$ 接着[把你的文件后缀名显示](https://jingyan.baidu.com/article/6b97984d55f4375ca2b0bfe9.html) 然后把$.txt$改成$.in$或$.out$ (in是输入,out是输出) $OK$了
by xiaobiru7302_1 @ 2024-04-13 22:59:05


@[yeshou114514](/user/839556) [自动造数据](https://www.luogu.com.cn/discuss/11410) [帖子](https://lglg.top/758272)
by yitian_ @ 2024-04-13 23:02:13


@[yeshou114514](/user/839556) 建议你用freopen和随机数批量生产样例 提前写好标程代码 运行程序后就可以收获一堆测试案例 如果有限定条件的化需要特判~~~ ~~记验证码:DK8R~~
by jixiaoyan @ 2024-04-13 23:22:51


@[yeshou114514](/user/839556) 用 [CyaRon](https://www.luogu.com/discuss/11410)
by VividCycle @ 2024-04-14 08:50:54


|