10950번 - A+B - 3
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp3
{
internal class Program
static void Main(string[] args)
int a = int.Parse(Console.ReadLine());
for (int i = 0; i < a; i++)
{ // 1씩 내가 눌러준 5만큼 반복
string s = Console.ReadLine();
string[] ss = s.Split();
int b = int.Parse(ss[0]);
int c = int.Parse(ss[1]);
Console.WriteLine(b + c);
}
댓글을 작성하려면 로그인해야 합니다.
bluestar412 1년 전
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp3
{
internal class Program
{
static void Main(string[] args)
{
int a = int.Parse(Console.ReadLine());
for (int i = 0; i < a; i++)
{ // 1씩 내가 눌러준 5만큼 반복
string s = Console.ReadLine();
string[] ss = s.Split();
int b = int.Parse(ss[0]);
int c = int.Parse(ss[1]);
Console.WriteLine(b + c);
}
}
}
}