Skip to content

Commit 2b9f96e

Browse files
committed
atcoder/abc055A
1 parent 04352c3 commit 2b9f96e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

atcoder/abc055/A/main.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include <bits/stdc++.h>
2+
3+
using namespace std;
4+
using ll = long long;
5+
6+
int main() {
7+
ios_base::sync_with_stdio(false);
8+
cin.tie(0); cout.tie(0);
9+
10+
int N;
11+
cin >> N;
12+
int x = N * 800;
13+
int y = N / 15 * 200;
14+
cout << x - y << endl;
15+
16+
return 0;
17+
}

0 commit comments

Comments
 (0)