以下の内容はhttps://blog.hamayanhamayan.com/entry/2020/02/24/091628より取得しました。


Beginner [AtCoder Beginner Contest 156 A]

https://atcoder.jp/contests/abc156/tasks/abc156_a

解説

https://atcoder.jp/contests/abc156/submissions/10295302

問題文に書かれていることをシミュレートする。
特に注意点はない。

int N, R;
//---------------------------------------------------------------------------------------------------
void _main() {
    cin >> N >> R;

    if (10 <= N) cout << R << endl;
    else cout << (R + 100 * (10 - N)) << endl;
}



以上の内容はhttps://blog.hamayanhamayan.com/entry/2020/02/24/091628より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14