본문 바로가기

Machineboy空

검색하기
Machineboy空
프로필사진 안녕도라

  • 분류 전체보기 (417)
    • Game (50)
      • Unity (22)
      • Art (2)
      • 게임 수학 (17)
      • 개발 일지 (8)
    • 언어 (69)
      • iOS (31)
      • C# (35)
    • Computer (246)
      • Coding Test (122)
      • 개념 (16)
      • 알고리즘 (27)
      • CS (51)
      • 자료구조 (24)
    • #endregion (35)
      • 기타 (4)
      • 1日1冊 (31)
    • 오래된 농담 (0)
      • 2025年4月 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/03   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2025/03/11 (1)

Machineboy空

C# 문제 풀이 빠른 입출력

문제 풀이시, 입력을 좀 더 효율적으로 처리하기 위해서 정리해둔다.입력: 입력값을 정수로 바꾸기string input = Console.ReadLine();int num = int.Parse(input);int input = int.Parse(Console.ReadLine());입력: 여러 개의 입력값을 공백으로 구분하여 나누기string input = Console.ReadLine();string[] splited = input.Split(' ');string[] input = Console.ReadLine().Split();입력: 입력 길이가 정해져 있지 않은 경우while(true){ string input = Console.ReadLine(); if(input == null) bre..

언어/C# 2025. 3. 11. 13:32
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바