关于 `#ifndef ONLINE_JUDGE`
  • 板块灌水区
  • 楼主Coros_Trusds
  • 当前回复2
  • 已保存回复2
  • 发布时间2021/12/14 23:22
  • 上次更新2023/11/3 22:01:19
查看原帖
关于 `#ifndef ONLINE_JUDGE`
430409
Coros_Trusds楼主2021/12/14 23:22
#ifndef ONLINE_JUDGE
	freopen("...","r",stdin);
   	freopen("...","w",stdout);
#endif

的作用是否为:

  • 在 CCF 系列比赛中会运行代码中的语句。

  • 在线评测时不会运行。

2021/12/14 23:22
加载中...