반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
Tags
- 백준
- 압구정데이트
- 대구맛집
- 서울맛집
- 대구데이트
- 수성구데이트
- C#
- 정렬
- 대구고깃집
- oracle
- 별찍기
- 범어동맛집
- BFS
- 대명동맛집
- 수성구맛집
- 앞산카페
- 반복문
- 대구삼겹살
- 브루트 포스
- 수성못맛집
- 안지랑카페
- 오라클
- 수성못삼겹살
- 대구카페
- 들안길삼겹살
- programmers
- 큐
- 프로그래머스
- 조건문
- SQL
Archives
- Today
- Total
목록분해합 (1)
모든 일상

using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int num = int.Parse(Console.ReadLine()); bool check = false; for (int i = 1; i 0) { result += buff % 10; buff /= 10; } if (result == num) { Console.WriteLine(i); check = true; break; ..
코딩 공부/C#
2023. 1. 12. 08:50