You are viewing a single comment's thread. Return to all comments →
System.out.printf("%103d %n", s1,x);
it produced the desured ouput but did not pss the test cases.
the test cases are broken, the left-justification is actually -14 chars not -15, try it it'll work EDIT: just tried with opening the problem page again, now it works with -15 left-justification...weird.