mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 18:52:02 +00:00
B2009 计算 (a+b)/c 的值
R52603575
This commit is contained in:
parent
2d4edf7cc9
commit
d538c532a8
10
Luogu/problem/B2009/B2009.cpp
Normal file
10
Luogu/problem/B2009/B2009.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b, c;
|
||||
cin >> a >> b >> c;
|
||||
cout << (a + b) / c << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user