Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
267 B
3
Indexable
Never
#include <iostream>

using namespace std;

int main() 
{
    int a = 0;
    cin >> a;
    int b;
    cin >> b;
    if (a < 0 && a % 2 != 0 && b > 0 && b % 2 == 0) {
        cout << b - a;
    }
    else {
        cout << "no";
    }
    return 0;
}