@[AThls123](/user/395825) 你换行是不是用的```endl```啊
by sidekick257 @ 2023-03-28 11:09:07
@[sidekick257](/user/343776) 我用了,但确实比 cout << '\n'快
by AThls123 @ 2023-03-28 11:10:08
看这两个记录都差不多
https://www.luogu.com.cn/record/106166725
https://www.luogu.com.cn/record/106166746
by AThls123 @ 2023-03-28 11:11:11
这个是加了快读的,好像每快多少。
https://www.luogu.com.cn/record/106167426
by AThls123 @ 2023-03-28 11:12:43
@[AThls123](/user/395825) 实测你的程序只需要加上快读,输出用 "\n" 就能过,完全没必要快输
by yizhiming @ 2023-03-28 11:18:15
啊这,开 O2 确实可以过
by AThls123 @ 2023-03-28 11:40:03
@[AThls123](/user/395825) 有没有一种可能,`cin.tie(nullptr)`
by Argon_Cube @ 2023-03-28 12:41:00
@[AThls123](/user/395825) 还有就是与同步流解绑的 `cout` 是已知最快的输出方式。
by Argon_Cube @ 2023-03-28 12:42:07
准确来说,用 printf 就能解决快写的问题。
这东西比快写差不了多少。
by zzq_666 @ 2023-03-28 12:52:03
其实快读,快写,就能解决的问题,就可以不用 scanf printf 这两东西 ~~写的还累~~ 。下面这个是加了,快读,快写的,实际上还是挺快的。
https://www.luogu.com.cn/record/106182953
by AThls123 @ 2023-03-31 15:34:12