Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ハードウェアまたはソフトウェアで借りずに減算する簡単な方法はありますか? すなわち。9 - 11 = 98 これを C++ で実装したいのですが、インライン アセンブリはオプションです。
9 - 11 = 98
私はあなたが欲しいと思いますabs((X % 10) - (Y % 10))
abs((X % 10) - (Y % 10))