結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー |
![]() |
提出日時 | 2023-06-14 16:14:23 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 141 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 27,648 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-23 00:32:46 |
合計ジャッジ時間 | 730 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include<stdio.h>int main() {int n;scanf("%d", &n);n % 2 == 0 ? printf("%d %d\n", n / 2, n / 2) : printf("%d %d\n", n / 2, n / 2+1);}