結果

問題 No.687 E869120 and Constructing Array 1
ユーザー dong_feng
提出日時 2018-06-07 23:29:03
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 176 bytes
コンパイル時間 207 ms
コンパイル使用メモリ 29,568 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-30 10:35:54
合計ジャッジ時間 1,060 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(void){
    int sum;
    scanf("%d",&sum);
    
    printf("%d %d\n",(int)floor(sum/2.0),(int)ceil(sum/2.0));
    
    return 0;
}
0