본문 바로가기

빨간색코딩

검색하기
빨간색코딩
프로필사진 빨간색소년

  • 분류 전체보기 (187)
    • Java (37)
    • C (10)
    • 디자인패턴 (5)
    • 알고리즘 (2)
    • Spring (22)
    • Web (22)
    • node.js (18)
    • python (3)
    • 빌드도구 (1)
    • Git (7)
    • network (17)
    • database (12)
    • R (7)
    • 빅데이터 (5)
    • Linux (9)
    • assembly (1)
    • 자격증 (6)
    • 일상 (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
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
Tags
  • mybatis
  • spring
  • redis
  • Static
  • effective
  • html
  • socket
  • Linux
  • HTTP
  • Java
  • Lombok
  • VCS
  • reactor
  • javascript
  • 데이터통신
  • git
  • mongodb
  • github
  • 네트워크
  • network
  • AWS
  • Heap
  • NoSQL
  • reactive
  • libuv
  • ajax
  • cache
  • Elk
  • nodejs
  • r
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록SCPC (1)

빨간색코딩

SCPC 2015 예선 1번 개구리 뛰기

알고리즘 문제 SCPC 2015 예선 1번 개구리 뛰기 문제링크: https://www.codeground.org/practice/practiceProbView.do?probId=11 소스코드 #pragma warning (disable:4996)#include #include int main(void){setbuf(stdout, NULL);int T;int test_case; scanf("%d", &T); // 첫번째줄 T for (test_case = 1; test_case K) //뛸수없어, [--i]로 점프해라{if (line[--i] != frog){frog = line[i];count++;}else if (line[i] == frog){count = -1;break;}}}i = rock - 1..

알고리즘 2017. 2. 8. 19:31
Prev 1 Next

Blog is powered by AXZ / Designed by Tistory

티스토리툴바