Logo CodeXlog
  • Home
  • About
  • Recent Posts
  • 게시글
  • Tags
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • 태그
  • Airline
  • Algorithms
  • Ansible
  • Arithmetic
  • Array
  • Autojump
  • AWS
  • Backjoon
  • Bublesort
  • C
  • CentOS
  • Deep-Learning
  • Django
  • Embeded
  • Embeded-System
  • Git
  • Git Bash
  • Github
  • GitLab
  • Hugo
  • Hugo-Toha Theme
  • Hydejack Theme
  • IaC
  • Jekyll
  • Level 17
  • Level 4
  • Loop
  • MacOS
  • Manual
  • Math
  • MinGW
  • Online-Judge
  • OpenCV
  • OS
  • Pattern
  • Prime Number
  • Programming Tips
  • Python
  • RHEL
  • Scanf
  • Sort
  • String
  • Study
  • System-Programming
  • Tensor-Flow
  • Terrafrom
  • Theory
  • Ubuntu
  • Upgrade
  • Vim
  • Window
  • 비교분석
  • 초기설정
Hero Image
Problem.2490

백준 단계별 문제집 레벨17 모든 내용은 Git Hub에도있습니다. Problem.2490 2490번[윷놀이] #include <stdio.h> #include <stdlib.h> #include <string.h> int main(){ int bae,deung; int one,two,three,four; char buf[10]; int status_zero=0,status_one=0; for(int i = 0; i < 3; ++i){ fgets(buf,sizeof(buf),stdin); for (int j = 0; j < strlen(buf); ++j) { if(buf[j]=='0') status_zero++; else if(buf[j]=='1') status_one++; else continue; } if(status_zero>0){ switch(status_zero){ case 1: printf("A\n"); break; case 2: printf("B\n"); break; case 3: printf("C\n"); break; case 4: printf("D\n"); break; } } else printf("E\n"); status_one=0; status_zero=0; } } 모든 내용은 Git Hub에도있습니다.

  • C
  • Level 17
  • Prime Number
  • Backjoon
  • Online-Judge
2018년 5월 18일 금요일 | 1
바로가기
  • About
  • Recent Posts
  • Tags
Contact me:
  • codex.devlab@gmail.com
  • ehdwn1991
  • Codex

책임 고지: This theme is under MIT license. So, you can use it for non-commercial, commercial, or private uses. You can modify or distribute the theme without requiring any permission from the theme author. However, the theme author does not provide any warranty or takes any liability for any issue with the theme.