幾何コンテスト2013

Submission #3831453

Source codeソースコード

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
#define ALL(A) A.begin(), A.end()

using namespace std;

typedef long long ll;
typedef pair<int, int> P;

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	
	int N; cin >> N;
	vector<int> X(N, 0), Y(N, 0);
	rep (i, N){
		cin >> X[i] >> Y[i];
	} // end rep

	if (N > 1){
		exit(-1);
	} // end if

	double res = (double)abs(X[0]);

	printf("%.7lf\n", res);

	return 0;
}

Submission

Task問題 B - 玉座の間
User nameユーザ名 ty70
Created time投稿日時
Language言語 C++14 (GCC 5.4.1)
Status状態 RE
Score得点 50
Source lengthソースコード長 470 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Test case

Set

Set name Score得点 / Max score Cases
Subtask1 50 / 50 11_rand00.txt,11_rand01.txt,11_rand02.txt,11_rand03.txt,11_rand04.txt,11_rand05.txt,11_rand06.txt,11_rand07.txt,11_rand08.txt,11_rand09.txt,11_rand10.txt,11_rand11.txt,11_rand12.txt,11_rand13.txt,11_rand14.txt,11_rand15.txt,11_rand16.txt,11_rand17.txt,11_rand18.txt,11_rand19.txt,11_rand20.txt,11_rand21.txt,11_rand22.txt,11_rand23.txt,11_rand24.txt
Subtask2 0 / 50 11_rand00.txt,11_rand01.txt,11_rand02.txt,11_rand03.txt,11_rand04.txt,11_rand05.txt,11_rand06.txt,11_rand07.txt,11_rand08.txt,11_rand09.txt,11_rand10.txt,11_rand11.txt,11_rand12.txt,11_rand13.txt,11_rand14.txt,11_rand15.txt,11_rand16.txt,11_rand17.txt,11_rand18.txt,11_rand19.txt,11_rand20.txt,11_rand21.txt,11_rand22.txt,11_rand23.txt,11_rand24.txt,21_rand00.txt,21_rand01.txt,21_rand02.txt,21_rand03.txt,21_rand04.txt,21_rand05.txt,21_rand06.txt,21_rand07.txt,21_rand08.txt,21_rand09.txt,21_rand10.txt,21_rand11.txt,21_rand12.txt,21_rand13.txt,21_rand14.txt,21_rand15.txt,21_rand16.txt,21_rand17.txt,21_rand18.txt,21_rand19.txt,21_rand20.txt,21_rand21.txt,21_rand22.txt,21_rand23.txt,21_rand24.txt
Subtask3 0 / 50 11_rand00.txt,11_rand01.txt,11_rand02.txt,11_rand03.txt,11_rand04.txt,11_rand05.txt,11_rand06.txt,11_rand07.txt,11_rand08.txt,11_rand09.txt,11_rand10.txt,11_rand11.txt,11_rand12.txt,11_rand13.txt,11_rand14.txt,11_rand15.txt,11_rand16.txt,11_rand17.txt,11_rand18.txt,11_rand19.txt,11_rand20.txt,11_rand21.txt,11_rand22.txt,11_rand23.txt,11_rand24.txt,21_rand00.txt,21_rand01.txt,21_rand02.txt,21_rand03.txt,21_rand04.txt,21_rand05.txt,21_rand06.txt,21_rand07.txt,21_rand08.txt,21_rand09.txt,21_rand10.txt,21_rand11.txt,21_rand12.txt,21_rand13.txt,21_rand14.txt,21_rand15.txt,21_rand16.txt,21_rand17.txt,21_rand18.txt,21_rand19.txt,21_rand20.txt,21_rand21.txt,21_rand22.txt,21_rand23.txt,21_rand24.txt,31_rand00.txt,31_rand01.txt,31_rand02.txt,31_rand03.txt,31_rand04.txt,31_rand05.txt,31_rand06.txt,31_rand07.txt,31_rand08.txt,31_rand09.txt,31_rand10.txt,31_rand11.txt,31_rand12.txt,31_rand13.txt,31_rand14.txt,31_rand15.txt,31_rand16.txt,31_rand17.txt,31_rand18.txt,31_rand19.txt,31_rand20.txt,31_rand21.txt,31_rand22.txt,31_rand23.txt,31_rand24.txt
Subtask4 0 / 50 11_rand00.txt,11_rand01.txt,11_rand02.txt,11_rand03.txt,11_rand04.txt,11_rand05.txt,11_rand06.txt,11_rand07.txt,11_rand08.txt,11_rand09.txt,11_rand10.txt,11_rand11.txt,11_rand12.txt,11_rand13.txt,11_rand14.txt,11_rand15.txt,11_rand16.txt,11_rand17.txt,11_rand18.txt,11_rand19.txt,11_rand20.txt,11_rand21.txt,11_rand22.txt,11_rand23.txt,11_rand24.txt,21_rand00.txt,21_rand01.txt,21_rand02.txt,21_rand03.txt,21_rand04.txt,21_rand05.txt,21_rand06.txt,21_rand07.txt,21_rand08.txt,21_rand09.txt,21_rand10.txt,21_rand11.txt,21_rand12.txt,21_rand13.txt,21_rand14.txt,21_rand15.txt,21_rand16.txt,21_rand17.txt,21_rand18.txt,21_rand19.txt,21_rand20.txt,21_rand21.txt,21_rand22.txt,21_rand23.txt,21_rand24.txt,31_rand00.txt,31_rand01.txt,31_rand02.txt,31_rand03.txt,31_rand04.txt,31_rand05.txt,31_rand06.txt,31_rand07.txt,31_rand08.txt,31_rand09.txt,31_rand10.txt,31_rand11.txt,31_rand12.txt,31_rand13.txt,31_rand14.txt,31_rand15.txt,31_rand16.txt,31_rand17.txt,31_rand18.txt,31_rand19.txt,31_rand20.txt,31_rand21.txt,31_rand22.txt,31_rand23.txt,31_rand24.txt,41_rand00.txt,41_rand01.txt,41_rand02.txt,41_rand03.txt,41_rand04.txt,41_rand05.txt,41_rand06.txt,41_rand07.txt,41_rand08.txt,41_rand09.txt,41_rand10.txt,41_rand11.txt,41_rand12.txt,41_rand13.txt,41_rand14.txt,41_rand15.txt,41_rand16.txt,41_rand17.txt,41_rand18.txt,41_rand19.txt,41_rand20.txt,41_rand21.txt,41_rand22.txt,41_rand23.txt,41_rand24.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
11_rand00.txt AC 1 ms 256 KB
11_rand01.txt AC 1 ms 256 KB
11_rand02.txt AC 1 ms 256 KB
11_rand03.txt AC 1 ms 256 KB
11_rand04.txt AC 1 ms 256 KB
11_rand05.txt AC 1 ms 256 KB
11_rand06.txt AC 1 ms 256 KB
11_rand07.txt AC 1 ms 256 KB
11_rand08.txt AC 1 ms 256 KB
11_rand09.txt AC 1 ms 256 KB
11_rand10.txt AC 1 ms 256 KB
11_rand11.txt AC 1 ms 256 KB
11_rand12.txt AC 1 ms 256 KB
11_rand13.txt AC 1 ms 256 KB
11_rand14.txt AC 1 ms 256 KB
11_rand15.txt AC 1 ms 256 KB
11_rand16.txt AC 1 ms 256 KB
11_rand17.txt AC 1 ms 256 KB
11_rand18.txt AC 1 ms 256 KB
11_rand19.txt AC 1 ms 256 KB
11_rand20.txt AC 1 ms 256 KB
11_rand21.txt AC 1 ms 256 KB
11_rand22.txt AC 1 ms 256 KB
11_rand23.txt AC 1 ms 256 KB
11_rand24.txt AC 1 ms 256 KB
21_rand00.txt RE
21_rand01.txt RE
21_rand02.txt RE
21_rand03.txt RE
21_rand04.txt RE
21_rand05.txt RE
21_rand06.txt AC 1 ms 256 KB
21_rand07.txt RE
21_rand08.txt RE
21_rand09.txt RE
21_rand10.txt RE
21_rand11.txt RE
21_rand12.txt RE
21_rand13.txt RE
21_rand14.txt RE
21_rand15.txt RE
21_rand16.txt RE
21_rand17.txt RE
21_rand18.txt RE
21_rand19.txt RE
21_rand20.txt RE
21_rand21.txt RE
21_rand22.txt RE
21_rand23.txt RE
21_rand24.txt RE
31_rand00.txt RE
31_rand01.txt RE
31_rand02.txt RE
31_rand03.txt RE
31_rand04.txt RE
31_rand05.txt RE
31_rand06.txt RE
31_rand07.txt RE
31_rand08.txt RE
31_rand09.txt RE
31_rand10.txt RE
31_rand11.txt RE
31_rand12.txt RE
31_rand13.txt RE
31_rand14.txt RE
31_rand15.txt RE
31_rand16.txt RE
31_rand17.txt RE
31_rand18.txt RE
31_rand19.txt RE
31_rand20.txt RE
31_rand21.txt RE
31_rand22.txt RE
31_rand23.txt RE
31_rand24.txt RE
41_rand00.txt RE
41_rand01.txt RE
41_rand02.txt RE
41_rand03.txt RE
41_rand04.txt RE
41_rand05.txt RE
41_rand06.txt RE
41_rand07.txt RE
41_rand08.txt RE
41_rand09.txt RE
41_rand10.txt RE
41_rand11.txt RE
41_rand12.txt RE
41_rand13.txt RE
41_rand14.txt RE
41_rand15.txt RE
41_rand16.txt RE
41_rand17.txt RE
41_rand18.txt RE
41_rand19.txt RE
41_rand20.txt RE
41_rand21.txt RE
41_rand22.txt RE
41_rand23.txt RE
41_rand24.txt RE