結果

問題 No.815 Are you a traveller ?
ユーザー proribone
提出日時 2019-06-03 17:51:56
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 29,184 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-17 20:33:32
合計ジャッジ時間 616 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<math.h>

int main(){
  int n;
  scanf("%d",&n);
  if(n%2==0){
    printf("%d",n/2);
  }else{
    printf("%d",n/2+1);
  }

  return 0;
}
0