Skip to content

Commit 5ad1b18

Browse files
committed
[ADD] BOj 9295 주사위
- 수학
1 parent 3749099 commit 5ad1b18

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

acmicpc.net/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@
453453
| 157 | [악마의 제안](https://www.acmicpc.net/problem/23972) | [cpp](source/23972.cpp) | 158 | [스물셋](https://www.acmicpc.net/problem/23251) | [cpp](source/23251.cpp) |
454454
| 159 | [고고학자 예린](https://www.acmicpc.net/problem/20953) | [cpp](source/20953.cpp) | 160 | [Next in line](https://www.acmicpc.net/problem/6749) | [cpp](source/6749.cpp) |
455455
| 161 | [Balanced String](https://www.acmicpc.net/problem/17520) | [cpp](source/17520.cpp) | 162 | [괴짜 교수](https://www.acmicpc.net/problem/11109) | [cpp](source/11109.cpp) |
456+
| 163 | [주사위](https://www.acmicpc.net/problem/9295) | [cpp](source/9295.cpp) | | | |
456457

457458
</details>
458459

acmicpc.net/source/9295.cpp

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// 9295. 주사위
2+
// 2022.04.17
3+
// 수학
4+
#include<iostream>
5+
6+
using namespace std;
7+
8+
int main()
9+
{
10+
int t;
11+
cin >> t;
12+
int n, m;
13+
for (int i = 1; i <= t; i++)
14+
{
15+
cin >> n >> m;
16+
cout << "Case " << i << ": " << n + m << "\n";
17+
}
18+
return 0;
19+
}

0 commit comments

Comments
 (0)