結果
| 問題 | No.815 Are you a traveller ? |
| コンテスト | |
| ユーザー |
sorag
|
| 提出日時 | 2022-08-09 12:12:59 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 252µs | |
| コード長 | 312 bytes |
| 記録 | |
| コンパイル時間 | 389 ms |
| コンパイル使用メモリ | 93,704 KB |
| 実行使用メモリ | 9,712 KB |
| 最終ジャッジ日時 | 2026-08-31 06:37:52 |
| 合計ジャッジ時間 | 1,357 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 |
ソースコード
#include <iostream>
#include <vector>
#include <map>
#include<string>
#include<queue>
#include<math.h>
#define ll long long
#define P pair<int,int>
#define lP pait<ll,ll>
using namespace std;
int main() {
int n;
cin>>n;
if(n%2==0) cout<<n/2<<endl;
else cout<<n/2+1<<endl;
return 0;
}
sorag