[백준] C# : A+B - 7 (11021번)

ssu_hyun·2022년 8월 8일
0

Data Structure & Algorithm

목록 보기
49/67
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Baekjoon
{
    class Program
    {
        static void Main(string[] args)
        {
            int t = int.Parse(Console.ReadLine());
            for (int i = 0; i < t; i++)
            {
                string [] s = Console.ReadLine().Split();
                int a = int.Parse(s[0]);
                int b = int.Parse(s[1]);

                Console.WriteLine($"Case #{i+1}: {a + b}");
            }
        }
    }
}

0개의 댓글