你谷管理员能不能在确定 SPJ 能通过编译的情况下再改。
SPJ compilation failed:
/tmp/compiler_5e0n41ov/src: In function ‘int main(int, char**)’:
/tmp/compiler_5e0n41ov/src:8:29: 错误:‘max’ was not declared in this scope; did you mean ‘std::max’?
8 | if (fabs(pans - jans) / max(1.00 , pans) >0.001)
| ^~~
| std::max
In file included from /nix/store/al0w33yvyzkjm86ndpf42knjfymfisph-luogu-gcc-13.2.0/include/c++/13.2.0/algorithm:61,
from /nix/store/v7hd46d21f2szgwjnn66ld9hrm0bw2ay-testlib/include/testlib.h:170,
from /tmp/compiler_5e0n41ov/src:1:
/nix/store/al0w33yvyzkjm86ndpf42knjfymfisph-luogu-gcc-13.2.0/include/c++/13.2.0/bits/stl_algo.h:5805:5: 附注:‘std::max’ declared here
5805 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~