brk居然不能当变量名
  • 板块灌水区
  • 楼主QWQAWAQWQAWA
  • 当前回复12
  • 已保存回复13
  • 发布时间2024/8/8 17:27
  • 上次更新2024/8/8 18:49:19
查看原帖
brk居然不能当变量名
1009402
QWQAWAQWQAWA楼主2024/8/8 17:27

rt 我提交代码时ce了 提示 /tmp/compiler__6vytuye/src:3:27: 错误:‘bool brk’ redeclared as different kind of entity 3 | int t,x[5],y[5],z[5];bool brk=0; | ^~~ In file included from /nix/store/x8lqlydsxbrwvf6p7v18gws8kn1xl37f-glibc-2.38-23-dev/include/bits/sigstksz.h:24, from /nix/store/x8lqlydsxbrwvf6p7v18gws8kn1xl37f-glibc-2.38-23-dev/include/signal.h:328, from /nix/store/al0w33yvyzkjm86ndpf42knjfymfisph-luogu-gcc-13.2.0/include/c++/13.2.0/csignal:42, from /nix/store/al0w33yvyzkjm86ndpf42knjfymfisph-luogu-gcc-13.2.0/include/c++/13.2.0/x86_64-unknown-linux-gnu/bits/stdc++.h:116, from /tmp/compiler__6vytuye/src:1: /nix/store/x8lqlydsxbrwvf6p7v18gws8kn1xl37f-glibc-2.38-23-dev/include/unistd.h:1070:12: 附注:previous declaration ‘int brk(void*)’ 1070 | extern int brk (void *__addr) __THROW __wur;

2024/8/8 17:27
加载中...