Answer

问题及解答

[Bug] Calculator 中的计算bug

Posted by haifeng on 2022-09-14 20:16:40 last update 2022-09-14 20:35:29 | Edit | Answers (0)

>> (1000*x+100*y)%99
in> (1000*x+100*y)%99

out> 1010475858

 

 

>> (1000*x+100*y)mod99
in> (1000*x+100*y)@99

out> 71

 

 

>> (1000*120+100*121)
in> (1000*120+100*121)

out> 132100

------------------------


>> 132100%99
in> 132100%99

out> 1334

------------------------


>> (1000*120+100*121)%99
in> (1000*120+100*121)%99

out> 13.08050302

------------------------


>> (1)%(2)
in> (1)%(2)

out> 50

------------------------


>> (1)%(1)
in> (1)%(1)

out> 100

------------------------

>> (2)%(1)
in> (2)%(1)

out> 100

------------------------


>> (3)%(1)
in> (3)%(1)

out> 100

------------------------


>> (n)%(1)
in> (n)%(1)

out> n

------------------------