結果
| 問題 | 
                            No.530 年齢って毎年変わるし覚えるの難しいよね
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kichirb3
                         | 
                    
| 提出日時 | 2018-02-26 08:26:45 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 306 bytes | 
| コンパイル時間 | 584 ms | 
| コンパイル使用メモリ | 62,336 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-21 21:21:53 | 
| 合計ジャッジ時間 | 1,813 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 48 | 
ソースコード
// No.530 年齢って毎年変わるし覚えるの難しいよね
// https://yukicoder.me/problems/no/530
//
#include <iostream>
using namespace std;
int solve(int y);
int main() {
    int y;
    cin >> y;
    int ans = solve(y);
    cout << ans << endl;
}
int solve(int y) {
    return 2017 - y;
}
            
            
            
        
            
kichirb3