为什么自己的编译器能编译,洛谷编译失败

P1598 垂直柱状图

`max` 是关键字
by wumingwei @ 2023-12-06 12:36:07


$max$不能作为变量使用,请将$max$改为$maxn$
by M3te0rDream @ 2023-12-06 12:43:31


@[xxiao_99](/user/1156292) gets 在 c++14 被移除了
by Argvchs @ 2023-12-06 12:57:14


@[xXMeteorDreamXx](/user/927843) @[wumingwei](/user/542390) max 怎么你了
by Argvchs @ 2023-12-06 12:58:03


只是不要用max作变量名就可以了
by dmx7u19x @ 2023-12-06 13:02:10


@[dmx7u19x](/user/739214) 用 max 啥事没有
by Argvchs @ 2023-12-06 13:05:17


@[Argvchs](/user/533270) 有些编译器会报错
by dmx7u19x @ 2023-12-06 13:07:42


@[dmx7u19x](/user/739214) 好像不是max的问题
by xxiao_99 @ 2023-12-06 13:08:20


@[Argvchs](/user/533270) 大佬那用什么?fgets?
by xxiao_99 @ 2023-12-06 13:09:25


@[xxiao_99](/user/1156292) 实在不知道可以参考一下我的[代码](https://www.luogu.com.cn/paste/j3l38ara)我也是错过几次才对的,他输出太苛刻了
by dmx7u19x @ 2023-12-06 13:13:05


| 下一页