[백준 4단계(2)] 10951번: A+B - 4 C#풀이
2019. 9. 14.
https://www.acmicpc.net/problem/10951 10951번: A+B - 4 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. www.acmicpc.net 코드 using System; class Program { static void Main() { while (true) { string input = Console.ReadLine(); if (input == null) break; string[] AB = input.Split(); int a = int.Parse(AB[0]; int b = int.Parse(AB[1]); Console.WriteLine(a + b); } } } ... 삽질 많이한 문제... 문제 설명에 EOF를 활용하란 말이 있었다. 텍..