# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1152672 | jmuzhen | Geometrija (COCI21_geometrija) | C++20 | 1 ms | 320 KiB |
#include<bits/stdc++.h>
using namespace std;
// #define double long double
// #define int long long
constexpr double INF = 1e15;
constexpr double EPSILON = DBL_EPSILON;
struct Point
{
int x, y;
};
struct Line {
double m, c; // to define the line: y = mx+c
double s, e; // to define the start and end x-value of segment
};
bool eq(double a, double b) {
return abs(a-b) <= EPSILON;
}
bool le(double a, double b) {
return !eq(a,b) && b - a > 0;
}
bool ge(double a, double b) {
return !eq(a,b) && a - b > 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |