結果
| 問題 |
No.1986 Yummy
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-25 22:05:45 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 303 bytes |
| コンパイル時間 | 4,923 ms |
| コンパイル使用メモリ | 307,724 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-25 22:05:52 |
| 合計ジャッジ時間 | 6,246 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 9 WA * 15 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using ll = long long;
using mint = atcoder::modint998244353;
using maxt = atcoder::modint1000000007;
int main() {
int N;
cin >> N;
N /= 2;
if(N % 2 == 1) {
cout << N + 1 << endl;
}
else {
cout << N << endl;
}
}