結果
| 問題 |
No.815 Are you a traveller ?
|
| コンテスト | |
| ユーザー |
numatanumanuma
|
| 提出日時 | 2019-06-14 02:47:17 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 296 bytes |
| コンパイル時間 | 2,994 ms |
| コンパイル使用メモリ | 159,048 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-06 14:25:30 |
| 合計ジャッジ時間 | 2,071 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
#define print(s) cout<<(s)<<endl
int main() {
double N;
cin >> N;
int ans;
ans = ceil(N / 2);
print(ans);
return 0;
}
numatanumanuma