본문 바로가기 메뉴 바로가기

NAGE

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

NAGE

검색하기 폼
  • All Category (33)
    • Study (2)
      • ImageProcessing (2)
    • Board (2)
      • Notice (1)
      • Temporary (1)
      • Journey (0)
    • IT (20)
      • Program (17)
      • Tips (3)
    • Programing (5)
      • Windows (0)
      • Linux (0)
      • MacOS (0)
      • React (1)
      • CodingTest (3)
      • Docker (0)
      • Tips (1)
    • Media (1)
      • Program (0)
      • Tips (1)
    • HELP (0)
      • Tistory (0)
  • 방명록

코태 (1)
삼성 알고리즘 기출 문제 이차원 배열과 연산[백준-17140]

문제 출처 17140번: 이차원 배열과 연산 첫째 줄에 r, c, k가 주어진다. (1 ≤ r, c, k ≤ 100) 둘째 줄부터 3개의 줄에 배열 A에 들어있는 수가 주어진다. 배열 A에 들어있는 수는 100보다 작거나 같은 자연수이다. www.acmicpc.net 요약 vector sort #include #include class CountCell { public: int value, count; void setCount(int count) { this->count = count; } }; bool sortCC(const CountCell& c1, const CountCell& c2){ if (c1.count == c2.count) { return c1.value < c2.value; } else ..

Programing/CodingTest 2019. 7. 23. 17:01
이전 1 다음
이전 다음
공지사항
  • HOME
  • 공사중...

Blog is powered by Tistory / Designed by Tistory

티스토리툴바