neoguri

neoguri

250x250
  • 분류 전체보기 (45)
    • 백준 - C (24)
    • 백준 - 어셈블리 (4)
    • 백준 - Python (7)
    • C언어 (4)
    • CTF (4)
    • T3N4CI0US - reversing 스터디 (0)
    • T3N4CI0US - Pwnable 스터디 (0)
    • Linux (2)
    • 서버 구축 (0)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

neoguri

컨텐츠 검색

태그

lactf UgraCTF 파이썬 if~else if~else ChristmasCTF Linux run-level printf Incognito4.0 삼중자 어셈블리 switch~case C 아스키아트 T3N4CI0US Writeup ctf 포너블스터디 Python scanf

최근글

댓글

공지사항

아카이브

switch~case(1)

  • 백준 - 시험 성적

    백준의 시험 성적 문제입니다. 문제 해결 코드는 다음과 같습니다. #include int main(void){ int score; scanf("%d", &score); switch(score / 10){ // 스코어 구간에 따른 성적 구분 case 10: case 9: printf("A"); break; case 8: printf("B"); break; case 7: printf("C"); break; case 6: printf("D"); break; default: printf("F"); } return 0; }

    2022.10.28
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바