Commit 61020053 authored by uxrog's avatar uxrog
Browse files

Merge branch 'exec/critical-div' into 'master'

Add test for division edge cases

See merge request !53
parents 68a19eb5 85f2f60f
Pipeline #188366 failed with stage
in 14 minutes and 34 seconds
class Division {
public static void main(String[] args) {
new Division().printDiv(-2147483648, -1);
new Division().printMod(-2147483648, -1);
public void printMod(int a, int b) {
System.out.println(a % b);
public void printDiv(int a, int b) {
System.out.println(a / b);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment