eolymp
bolt
Try our new interface for solving problems
Problems

Dino and colors

published at 1/5/24, 6:16:57 pm

include <bits/stdc++.h>

using namespace std;

int main () {

long long a, b, c, d;

cin >> a >> b;

if (a - (2 * b) > 0) {

cout << a - (2 * b);

}

else {

cout << 0;

}

}