QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#107827#2069. Geometry PTSDScintillaAC ✓2ms3356kbC++14708b2023-05-22 21:30:312023-05-22 21:30:33

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-05-22 21:30:33]
  • 评测
  • 测评结果:AC
  • 用时:2ms
  • 内存:3356kb
  • [2023-05-22 21:30:31]
  • 提交

answer

#include <bits/stdc++.h>

using namespace std;

#define rep(i, s, e) for (int i = s; i <= e; ++i)
#define drep(i, s, e) for (int i = s; i >= e; --i)
#define file(a) freopen(#a".in", "r", stdin), freopen(#a".out", "w", stdout)
#define pv(a) cout << #a << " = " << a << endl
#define pa(a, l, r) cout << #a " : "; rep(_, l, r) cout << a[_] << ' '; cout << endl

int read() {
  int x = 0, f = 1; char c = getchar();
  for (; c < '0' || c > '9'; c = getchar()) if (c == '-') f = -1;
  for (; c >= '0' && c <= '9'; c = getchar()) x = x * 10 + c - 48;
  return x * f;
}

int main() {
  printf("999990 999991 0\n");
  printf("-999989 1 999989\n");
  printf("1 -999991 -999990\n");
  return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3356kb

input:



output:

999990 999991 0
-999989 1 999989
1 -999991 -999990

result:

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