Skip to content

Commit 0578db8

Browse files
committed
atcoder/abc076A
1 parent 04352c3 commit 0578db8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

atcoder/abc076/A/main.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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 R, G;
11+
cin >> R >> G;
12+
cout << (2 * G - R) << endl;
13+
14+
return 0;
15+
}

0 commit comments

Comments
 (0)