結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー mas9612
提出日時 2019-08-15 19:29:09
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 151 bytes
コンパイル時間 406 ms
コンパイル使用メモリ 52,952 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 15:29:41
合計ジャッジ時間 1,712 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main() {
    int y;
    cin >> y;

    const int this_year = 2017;
    cout << this_year - y << '\n';
}
0