태그>stringparsing(총 5개의 글)
'stringparsing' 관련 최근글
-
- SetComparison
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2019/11/17 20:29
Code import java.util.HashSet;import java.util.TreeSet;import java.util.StringTokenizer; public class SetComparison{ HashSet getSet(StringTokenizer st) { HashSet s = new HashSet(); String t = st.nextToken(); while (!t...
- SetComparison
-
- BitmapToGraph
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2019/06/12 21:37
Code import java.util.TreeSet; public class BitmapToGraph{ int[] dx = {-1,0,1,1,1,0,-1,-1}; int[] dy = {-1,-1,-1,0,1,1,1,0}; int n,m; String[] bmap; char check(int nx, int ny) { return (nx<0 || nx>=m || ny<0 |..
- BitmapToGraph
-
- QuipuReader
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2018/06/11 16:52
Code 01 public class QuipuReader02 {03 public int[] readKnots(String[] knots) {04 int m = knots.length;05 int n = knots[0].length();0607 boolean[] f = new boolean[50], g = new boolean[50];0809 for (int i=0; i < m; i+) {10 fo..
- QuipuReader
-
- ExerciseMachine
-
불타는 아잍(IT)스크림 by 불타는 아이스크림|2018/06/08 18:21
Code public class ExerciseMachine { public int getPercentages(String time) { int total = Integer.parseInt(time.substring(0, 2)) * 60 * 60 + Integer.parseInt(time.substring(3, 5)) * 60 + Integer.parseInt(time.substring(6, 8))..
- ExerciseMachine
-
- [topcoder] WolfDelaymaster
-
양파개발자 SW의 블로그입니다^^ by 졸린미어캣|2015/05/31 17:20
탑코더 문제는 일단 처음 풀어보는건데. 흠. 홈페이지에서 컴파일 테스트가 불가능하다.(그래서 실행시간도 없고, 내 풀이가 맞는지도 잘. 확신이 -ㅅ-.) 여튼,! 생각보다 문자열이 꽤 단순한 패턴으로 들어와서 푸는것은 어렵지 않았다.따로 정답 검증을 할수가 없으므로 ..
- [topcoder] WolfDelaymaster