Official

A - Exact Price Editorial by en_translator


It is possible if and only if \(X\) is not zero and \(X\) is divisible by \(100\).

Sample code (C++)

#include <bits/stdc++.h>
using namespace std;

int main(){
    int x; cin >> x;
    if(x == 0 || x % 100 != 0) cout << "No" << endl;
    else cout << "Yes" << endl;
}

posted:
last update: