abc182_a - Twiblr
23 Jan 2021 — Tags: easy — URL$2a + 100 - b$
Time complexity: $O(n)$
Memory complexity: $O(n)$
Click to show code.
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using vi = vector<int>;
int main(void)
{
ios::sync_with_stdio(false), cin.tie(NULL);
int a, b;
cin >> a >> b;
cout << 2 * a + 100 - b << endl;
return 0;
}