본문 바로가기

Dev.baelanche

검색하기
Dev.baelanche
프로필사진 baelanche

  • 분류 전체보기 (273)
    • CS (0)
      • 선형대수 (0)
    • Data Structure & Algorithm (273)
      • PS 관련 이론 (0)
      • PS - JAVA (270)
      • PS - C++ (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • 투포인터
  • 그래프
  • 브루트포스
  • 디스조인트-셋
  • 백트래킹
  • 탐욕법
  • 동적계획법
  • 슬라이딩윈도우
  • 우선순위큐
  • 트리
  • 알고리즘
  • 힙
  • 큐
  • 스택
  • BFS
  • 부분합
  • 수학
  • 구간합
  • 탐색
  • 유니온파인드
  • 정렬
  • 문자열
  • 이분탐색
  • 구현
  • 분할정복
  • 완전탐색
  • 시뮬레이션
  • 그리디
  • disjoint-set
  • DFS
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록문자열 (1)

Dev.baelanche

[백준 3486] Adding Reversed Number

번역 업무 중 번역한거라 발번역이다(핑계다). 별다른 알고리즘 기법없이 문자열을 잘 다루면 된다. public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n-->0) { char a[] = sc.next().toCharArray(); char b[] = sc.next().toCharArray(); reverse(a); reverse(b); int x = charToint(a); int y = charToint(b); int sum = x + y; char c[] = String.valueOf(sum).toCharArray(); for(i..

Data Structure & Algorithm/PS - JAVA 2019. 6. 10. 20:29
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바