태그>srm146(총 2개의 글)
'srm146' 관련 최근글
-
- Masterbrain
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2020/04/02 06:30
Code public class Masterbrain { String score(String g, String p) { int b = 0, w = 0; boolean[] ug = new boolean[4]; boolean[] up = new boolean[4]; for (int i = 0; i < 4; i+) { if (g.charAt(i)=p.charAt(i)) { b+; ug[..
Topcoder, SRM146, Hard, 600p, BruteForce
- Masterbrain
-
- RectangularGrid
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2020/03/15 02:32
Code public class RectangularGrid{ public long countRectangles(int width, int height) { long res = 0; for(int i = 0; i < height; i+) { for(int j = 0; j < width; j+) { if(i = j) continue; res = (height-i) * (width-j); } } return ..
- RectangularGrid