結果
| 問題 |
No.1114 足し算盆に返らず
|
| コンテスト | |
| ユーザー |
noritake
|
| 提出日時 | 2020-07-17 22:16:17 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 285 bytes |
| コンパイル時間 | 1,436 ms |
| コンパイル使用メモリ | 164,996 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-30 00:43:01 |
| 合計ジャッジ時間 | 15,285 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 25 |
ソースコード
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long> vl;
int main() {
int N;
cin >> N;
if (N % 2 != 0) {
N++;
}
cout << (N / 2) << endl;
}
noritake