关于此题CE与RE的问题
查看原帖
关于此题CE与RE的问题
310449
dxzier楼主2024/1/9 07:44

@Rainbow_qwq

使用C++14(GCC9)会CE

No valid executable file was produced by the compiler
/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin/ld: /tmp/compiler_7j_ipswa/lib.o: in function `InStream::getReadChars()':
src:(.text+0x71f1): undefined reference to `std::__throw_bad_array_new_length()'
/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin/ld: /tmp/compiler_7j_ipswa/lib.o: in function `FileInputStreamReader::getReadChars()':
src:(.text._ZN21FileInputStreamReader12getReadCharsEv[_ZN21FileInputStreamReader12getReadCharsEv]+0xa1): undefined reference to `std::__throw_bad_array_new_length()'
/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin/ld: /tmp/compiler_7j_ipswa/lib.o: in function `TestlibScorerGuard::~TestlibScorerGuard()':
src:(.text._ZN18TestlibScorerGuardD2Ev[_ZN18TestlibScorerGuardD5Ev]+0x917): undefined reference to `std::__throw_bad_array_new_length()'
collect2: 错误:ld 返回 1

而其它版本均会RE

Runtime Error.points 0.12 Final score: 11.585

Program exited with code 3.

提交下发文件中的模板(已注释“word.h”)也会RE

2024/1/9 07:44
加载中...