inblog logo
|
송승현의 블로그
    알고리즘문제풀기

    [알고리즘문제풀기]나이 출력

    프로그래머스 입문 문제
    송송승현's avatar
    송송승현
    Dec 26, 2024
    [알고리즘문제풀기]나이 출력
    Contents
    문제나의 해답

    문제

    school.programmers.co.kr
    https://school.programmers.co.kr/learn/courses/30/lessons/120820

    나의 해답

    class Solution { public int solution(int age) { int answer = 2022-age+1; return answer; } }
     
    Share article
    Contents
    문제나의 해답

    송승현의 블로그

    RSS·Powered by Inblog