警示后人:多判不寄
查看原帖
警示后人:多判不寄
912750
CarrotMeow楼主2023/3/11 22:22

提交了三次 R104416520 R104416620 R104417128

总算发现了哪里不对 /dk/dk

简单来说,(在我的代码里)要判 44 次:

{n=d,output 1n=0,output 0d=1,output nd<0,output (n)/(d)[1]\left\{ \begin{aligned} &n = d, &\text{output}\ 1 \\ &n = 0, &\text{output}\ 0 \\ &d = 1, &\text{output}\ n \\ &d < 0, &\text{output}\ (-n) \texttt / (-d) &^{[1]} \end{aligned} \right.

[1][1] 负数的负号 - 要出现在分子上

希望可以避免你们像我这个萌b一样出现一些不知所以的错误\LARGE\textsf{\color{Red}错误}

2023/3/11 22:22
加载中...