結果

問題 No.530 年齢って毎年変わるし覚えるの難しいよね
ユーザー funakoshifunakoshi
提出日時 2019-08-20 15:59:16
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 28,800 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-06 12:28:17
合計ジャッジ時間 1,439 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
int main(void)
{
    int age=0;
    int bornyear;
    scanf("%d",&bornyear);
    age=2017-bornyear;
    printf("%d",age);
}
0