Skip to content

Commit

Permalink
Improve as per code style suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
plagov committed Mar 15, 2023
1 parent 3583515 commit a7a2a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public String solve() {

for (int i = 1; i < str.length() + 1; i++) {
remainders.addFirst(n % i);
n = n / i;
n /= i;
}

StringBuilder result = new StringBuilder();
Expand Down

0 comments on commit a7a2a49

Please sign in to comment.