結果
問題 | No.1986 Yummy |
ユーザー |
|
提出日時 | 2022-06-25 05:58:05 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 142 bytes |
コンパイル時間 | 736 ms |
コンパイル使用メモリ | 76,800 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-09 02:44:05 |
合計ジャッジ時間 | 1,665 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 17 WA * 7 |
ソースコード
#include <iostream>int main(){long long n;std::cin >> n;std::cout << (n % 2 == 0 ? n / 2 : '1') << std::endl;return 0;}