CODE FESTIVAL 2016 Elimination Tournament Round 2 (Parallel)

Submission #1628903

Source codeソースコード

#include <bits/stdc++.h>
#define rep(i, a, n) for(int i = a; i < n; i++)
#define REP(i, n) rep(i, 0, n)
#define repb(i, a, b) for(int i = a; i >= b; i--)
#define all(a) a.begin(), a.end()
#define int long long
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
using namespace std;
typedef pair<int, int> P;
const int mod = 1000000007;
const int INF = 1e12;

signed main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    int x, p;
    cin >> x >> p;
    assert(p == 100);
    cout << (x + 1) / 2 << endl;
}

Submission

Task問題 A - 迷子の高橋君 / Takahashi is Missing!
User nameユーザ名 treeone
Created time投稿日時
Language言語 C++14 (GCC 5.4.1)
Status状態 RE
Score得点 200
Source lengthソースコード長 549 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Test case

Set

Set name Score得点 / Max score Cases
Sample - subtask_01_ex1.txt,subtask_03_ex2.txt,subtask_04_ex3.txt
Dataset1 200 / 200 subtask_01_02.txt,subtask_01_03.txt,subtask_01_04.txt,subtask_01_ex1.txt,subtask_02_01.txt,subtask_02_02.txt,subtask_02_03.txt
Dataset2 0 / 300 subtask_01_02.txt,subtask_01_03.txt,subtask_01_04.txt,subtask_01_ex1.txt,subtask_03_01.txt,subtask_03_02.txt,subtask_03_03.txt,subtask_03_04.txt,subtask_03_05.txt,subtask_03_ex2.txt
Dataset3 0 / 200 subtask_01_02.txt,subtask_01_03.txt,subtask_01_04.txt,subtask_01_ex1.txt,subtask_02_01.txt,subtask_02_02.txt,subtask_02_03.txt,subtask_03_01.txt,subtask_03_02.txt,subtask_03_03.txt,subtask_03_04.txt,subtask_03_05.txt,subtask_03_ex2.txt,subtask_04_01.txt,subtask_04_02.txt,subtask_04_03.txt,subtask_04_04.txt,subtask_04_05.txt,subtask_04_06.txt,subtask_04_07.txt,subtask_04_08.txt,subtask_04_09.txt,subtask_04_ex3.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
subtask_01_02.txt AC 1 ms 256 KB
subtask_01_03.txt AC 1 ms 256 KB
subtask_01_04.txt AC 1 ms 256 KB
subtask_01_ex1.txt AC 1 ms 256 KB
subtask_02_01.txt AC 1 ms 256 KB
subtask_02_02.txt AC 1 ms 256 KB
subtask_02_03.txt AC 1 ms 256 KB
subtask_03_01.txt RE
subtask_03_02.txt RE
subtask_03_03.txt RE
subtask_03_04.txt RE
subtask_03_05.txt RE
subtask_03_ex2.txt RE
subtask_04_01.txt RE
subtask_04_02.txt RE
subtask_04_03.txt RE
subtask_04_04.txt RE
subtask_04_05.txt RE
subtask_04_06.txt RE
subtask_04_07.txt RE
subtask_04_08.txt RE
subtask_04_09.txt RE
subtask_04_ex3.txt RE