QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#188976#2069. Geometry PTSDCrysflyAC ✓0ms3700kbC++20880b2023-09-26 18:27:552023-09-26 18:27:57

Judging History

你现在查看的是最新测评结果

  • [2023-09-26 18:27:57]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3700kb
  • [2023-09-26 18:27:55]
  • 提交

answer

// what is matter? never mind. 
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
//#pragma GCC target("sse,sse2,sse3,sse4,popcnt,abm,mmx,avx,avx2") 
#include<bits/stdc++.h>
#define For(i,a,b) for(int i=(a);i<=(b);++i)
#define Rep(i,a,b) for(int i=(a);i>=(b);--i)
#define ll long long
#define ull unsigned long long
#define int long long
using namespace std;
inline int read()
{
	char c=getchar();int x=0;bool f=0;
	for(;!isdigit(c);c=getchar())f^=!(c^45);
	for(;isdigit(c);c=getchar())x=(x<<1)+(x<<3)+(c^48);
	if(f)x=-x;return x;
}

#define fi first
#define se second
#define pb push_back
#define mkp make_pair
typedef pair<int,int>pii;
typedef vector<int>vi;

#define maxn 1000005
#define inf 0x3f3f3f3f


signed main()
{
	puts("999998 999999 0");
	puts("-999997 1 999997");
	puts("1 -999999 -999998");
	return 0;
}
/*

*/

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3700kb

input:



output:

999998 999999 0
-999997 1 999997
1 -999999 -999998

result:

ok AC, the distance of origin to plane ABC is 1.36084e-19