• Skip to primary navigation
  • Skip to content
  • Skip to footer
Sponge Note Sponge Note Do It
  • Home
  • Search
    1. Home
    2. /
    3. Algorithm
    4. /
    5. SWEA 2072번

    Hyse

    기록하고 활용하자

    • South Korea
    • GitHub
    • 이메일
    • 📂 전체 글 수 139 개
    • About
    • Study
      • JPA 기초 (9)
      • JPA 활용 (6)
      • SpringDataJPA (5)
      • QueryDsl (5)
      • AWS (5)
      • Docker (2)
      • Security (1)
      • Spring (2)
      • RDBMS (1)
      • Network (1)
      • MSA (1)
      Algorithm
      • 알고리즘(91)
    정보처리기사
    • 정보처리기사(10)

    SWEA 2072번

    May 9, 2023 less than 1 minute read

    On This Page

    • 파이썬

    SWEA 2072 홀수만 더하기 파이썬

    문제링크

    파이썬

    t = int(input())
    for i in range(1,t+1):
        cnt = 0
        s = list(map(int,input().split()))
        for j in s:
            if j % 2 ==1:
                cnt+=j
        print("#"+str(i), str(cnt))
    

    카테고리: Algorithm

    업데이트: May 9, 2023

    공유하기

    Twitter Facebook LinkedIn
    이전 다음

    댓글남기기

    참고

    2023.09.17

    [프로그래머스] 덧칠하기

    2023.09.15

    [프로그래머스] 최소직사각형

    2023.09.13

    REST, REST API, RESTful?

    2023.09.11

    [백준] 10799번 쇠막대기

    • 팔로우:
    • GitHub
    • Feed
    © 2024 Hyse. Powered by Jekyll & Minimal Mistakes.