P
P
ProblemBook.NET
Search
⌃K
P
P
ProblemBook.NET
Search
⌃K
ProblemBook.NET
LANGS
Задачник.NET
ProblemBook.NET
Oop
Strings
Linq
Multithreading
ValueTypes
Math
“Rounding2” (Solution)
“AugmentedAssignment” (Solution)
“Rounding1” (Solution)
“Rounding2” (Problem)
“Rounding1” (Problem)
“AugmentedAssignment” (Problem)
“DivideByZero” (Solution)
“DivideByZero” (Problem)
“DynamicIncrement” (Solution)
“DynamicIncrement” (Problem)
“Eps” (Solution)
“Eps” (Problem)
“Overflow” (Solution)
“Overflow” (Problem)
Summary
Introduction
Attribution-NonCommercial-NoDerivatives 4.0 International
Powered By GitBook

“Rounding2” (Solution)

Answer

a = b * (a/b) + (a%b)
7 = 3 * 2 + 1
7 = -3 * -2 + 1
-7 = 3 * -2 + -1
-7 = -3 * 2 + -1
​Problem​
Previous
Math
Next
“AugmentedAssignment” (Solution)
Last modified 4yr ago
Copy link