結果

問題 No.1986 Yummy
ユーザー kakeyamay
提出日時 2022-07-04 11:08:35
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 160 bytes
コンパイル時間 819 ms
コンパイル使用メモリ 65,720 KB
最終ジャッジ日時 2025-01-30 04:28:32
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdint>
#include <iostream>
#include <concepts>

int main() {
  std::uint32_t N;
  std::cin >> N;
  std::cout << (N % 2 == 1 ? 1 : N / 2) << '\n';
}
0