結果
問題 |
No.3083 One Two
|
ユーザー |
|
提出日時 | 2025-04-04 21:21:30 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 313 bytes |
コンパイル時間 | 1,945 ms |
コンパイル使用メモリ | 189,416 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-04-04 21:21:32 |
合計ジャッジ時間 | 2,491 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef pair<int, int> pii; typedef pair<int, pair<int, int> > piii; typedef long long ll; const int N = 2000086, MOD = 998244353, INF = 0x3f3f3f3f; ll res; int n, m, cnt, w[N], v1, v2; int main() { cin >> n; printf("%d\n", (n + 1) >> 1); return 0; }