백준 11022 A+B -8
Console Programming/C# Console 2019. 10. 1. 08:31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
namespace _11022
{
class Program
{
static void Main(string[] args)
{
int testcase = int.Parse(Console.ReadLine());
for (int i = 0; i < testcase; i++)
{
string str = Console.ReadLine();
int a = int.Parse(arr[0]);
int b = int.Parse(arr[1]);
Console.WriteLine($"Case #{i + 1}: {a} + {b} = {a + b}");
}
}
}
}
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
|
![](https://blog.kakaocdn.net/dn/bLizCZ/btqyHWxXTLD/xd8o1JvHuVIjwcKNdXax5K/img.png)
'Console Programming > C# Console' 카테고리의 다른 글
백준 2439 별 찍기 -2 (0) | 2019.10.01 |
---|---|
백준 2438 별 찍기 -1 (0) | 2019.10.01 |
백준 11021 A+B -7 (0) | 2019.10.01 |
백준 8393 합 (0) | 2019.10.01 |
백준 10950 A+B -3 (0) | 2019.10.01 |