백준 알고리즘 단계별/입출력과 사칙연산(11)
-
백준 BOJ C# 1001
출제 링크 : https://www.acmicpc.net/problem/1001 1001번: A-B 두 정수 A와 B를 입력받은 다음, A-B를 출력하는 프로그램을 작성하시오. www.acmicpc.net 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 using System; namespace baekjoon { class Program { static void Main(string[] args) { string input = Console.ReadLine(); string[] arr_input = input.Split(); Console.WriteLine(int.Parse(arr_input[0])- int.Parse(arr_input[1])); } } } * 다를껀 없다. 100..
2020.01.08 -
백준 BOJ C# 1000
출제 링크 : https://www.acmicpc.net/problem/1000 1000번: A+B 문제 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. 입력 첫째 줄에 A와 B가 주어진다. (0 < A, B < 10) 출력 첫째 줄에 A+B를 출력한다. 예제 입력 1 복사 1 2 예제 출력 1 복사 3 힌트 여기를 누르면 1000번 예제 소스를 볼 수 있습니다.... www.acmicpc.net 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 using System; namespace baekjoon { class Program { static void Main(string[] args) { string input = Console.ReadLine();..
2020.01.08 -
백준 BOJ C# 10172
출제 링크 : https://www.acmicpc.net/problem/10172
2020.01.08 -
백준 BOJ C# 10718
출제 링크 : https://www.acmicpc.net/problem/10718 10718번: We love kriii ACM-ICPC 인터넷 예선, Regional, 그리고 World Finals까지 이미 2회씩 진출해버린 kriii는 미련을 버리지 못하고 왠지 모르게 올 해에도 파주 World Finals 준비 캠프에 참여했다. 대회를 뜰 줄 모르는 지박령 kriii를 위해서 격려의 문구를 출력해주자. www.acmicpc.net 코드 1 2 3 4 5 6 7 8 9 10 11 using System; using static System.Console; class MainApp { static void Main() { Console.WriteLine("강한친구 대한육군"); Console.Write..
2020.01.08 -
백준 BOJ C# 2557
1 2 3 4 5 6 7 8 9 10 using System; using static System.Console; class MainApp { static void Main() { Console.WriteLine("Hello World!"); } }
2020.01.08