2013-05-03から1日間の記事一覧

SRM158 div2 MEDIUM

The base of a number system is the number of different values each digit can represent. For example, in base-2 (binary), there are 2 values each digit can take: 0 and 1. In base-10, a digit can take values 0 through 9, inclusive. Sometimes…

SRM158 div2

#EASY 1 public class TireRotation { 2 String rot(String before) { 3 String after = ""; 4 after += before.charAt(3); 5 after += before.charAt(2); 6 after += before.charAt(0); 7 after += before.charAt(1); 8 return after; 9 } 10 11 public int…

© karahiyo