Official

A - Exact Price Editorial by blackyuki


\(X\)\(0\) でなく、かつ \(X\)\(100\) で割り切れることが必要十分条件です。

実装例 (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: