Atcoder Beginner Content 143 A - Curtain
Table of contents
# Problem
https://atcoder.jp/contests/abc143/tasks/abc143_a
# Time complexity
# Solution
Int A, B;
Int solve() {
return max(0, A - (B * 2));
}
int main() {
cin >> A >> B;
cout << solve() << endl;
}
Shun
Remote freelancer. A web and mobile application enginner.
Traveling around the world based on East Asia.
I'm looking forward to your job offers from all over the world!