diff --git a/bin/Main.class b/bin/Main.class index dd34eb4..aa31998 100644 Binary files a/bin/Main.class and b/bin/Main.class differ diff --git a/exercise/src/Main.java b/exercise/src/Main.java index 9188281..88493f0 100644 --- a/exercise/src/Main.java +++ b/exercise/src/Main.java @@ -13,7 +13,8 @@ public class Main { int id = in.nextInt(); if (id >= 0 && id <= 100) { mention[id]++; - if (sender >= 0 && sender <= 100) by[id][sender] = true; + if (sender >= 0 && sender <= 100) + by[id][sender] = true; } } } @@ -30,7 +31,8 @@ public class Main { boolean first = true; for (int s = 0; s <= 100; s++) { if (by[bestId][s]) { - if (!first) sb.append(' '); + if (!first) + sb.append(' '); sb.append(s); first = false; }