Submission #371099


Source Code Expand

#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <deque>
#include <complex>
#include <stack>
#include <queue>
#include <cstdio>
#include <cctype>
#include <cstring>
#include <ctime>
#include <iterator>
#include <bitset>
#include <numeric>
#include <list>
#include <iomanip>
#include <cassert>

#if __cplusplus >= 201103L
#include <array>
#include <tuple>
#include <initializer_list>
#include <unordered_set>
#include <unordered_map>
#include <forward_list>

#define cauto const auto&
#define ALL(v) begin(v),end(v)
#else
#define ALL(v) (v).begin(),(v).end()
#endif

using namespace std;


namespace{
typedef long long LL;
typedef pair<int,int> pii;
typedef pair<LL,LL> pll;

typedef vector<int> vint;
typedef vector<vector<int> > vvint;
typedef vector<long long> vll, vLL;
typedef vector<vector<long long> > vvll, vvLL;

#define VV(T) vector<vector< T > >

template <class T>
void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()){
	v.assign(a, vector<T>(b, t));
}

template <class F, class T>
void convert(const F &f, T &t){
	stringstream ss;
	ss << f;
	ss >> t;
}


#define REP(i,n) for(int i=0;i<int(n);++i)
#define RALL(v) (v).rbegin(),(v).rend()


#define MOD 1000000007LL
#define EPS 1e-8


void mainmain(){
	double x, y;
	cin >> x >> y;
	printf("%f %f %f %f\n%f %f %f %f\n", x, y, x + 1, y, x, y, x, y + 1);
	
}



}
int main() try{
//	ios::sync_with_stdio(false);
	cout << fixed << setprecision(10);
	cerr << fixed << setprecision(4);
	mainmain();
}
catch(...){}

Submission Info

Submission Time
Task B - 交点
User climpet
Language C++ (GCC 4.9.2)
Score 0
Code Size 1797 Byte
Status WA
Exec Time 122 ms
Memory 932 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
WA × 27
Set Name Test Cases
All scrambled_00.txt, scrambled_01.txt, scrambled_02.txt, scrambled_03.txt, scrambled_04.txt, scrambled_05.txt, scrambled_06.txt, scrambled_07.txt, scrambled_08.txt, scrambled_09.txt, scrambled_10.txt, scrambled_11.txt, scrambled_12.txt, scrambled_13.txt, scrambled_14.txt, scrambled_15.txt, scrambled_16.txt, scrambled_17.txt, scrambled_18.txt, scrambled_19.txt, scrambled_20.txt, scrambled_21.txt, scrambled_22.txt, scrambled_23.txt, scrambled_24.txt, scrambled_25.txt, scrambled_26.txt
Case Name Status Exec Time Memory
scrambled_00.txt WA 122 ms 752 KB
scrambled_01.txt WA 26 ms 804 KB
scrambled_02.txt WA 23 ms 920 KB
scrambled_03.txt WA 26 ms 924 KB
scrambled_04.txt WA 24 ms 928 KB
scrambled_05.txt WA 26 ms 796 KB
scrambled_06.txt WA 25 ms 920 KB
scrambled_07.txt WA 26 ms 920 KB
scrambled_08.txt WA 26 ms 728 KB
scrambled_09.txt WA 25 ms 920 KB
scrambled_10.txt WA 24 ms 796 KB
scrambled_11.txt WA 24 ms 904 KB
scrambled_12.txt WA 26 ms 812 KB
scrambled_13.txt WA 25 ms 800 KB
scrambled_14.txt WA 26 ms 800 KB
scrambled_15.txt WA 26 ms 928 KB
scrambled_16.txt WA 25 ms 924 KB
scrambled_17.txt WA 22 ms 796 KB
scrambled_18.txt WA 22 ms 920 KB
scrambled_19.txt WA 23 ms 800 KB
scrambled_20.txt WA 25 ms 924 KB
scrambled_21.txt WA 25 ms 736 KB
scrambled_22.txt WA 23 ms 800 KB
scrambled_23.txt WA 23 ms 932 KB
scrambled_24.txt WA 24 ms 808 KB
scrambled_25.txt WA 24 ms 932 KB
scrambled_26.txt WA 24 ms 932 KB