oj mrJudge
Toggle navigation
  • Login
    • Forget Password
      Login
User Image

Hello, Stranger

Guest
  • Analysis Mode
  • Problems
    • All Problems
    • Latest Problems
  • Join Us Now
  • Registration
  • Contact Us
  • Infomation
  • About
    • Terms of Use
    • Technical Specifications
    • Credits

dwarfs Batch , stdin/stdout

Registered Users Only

Please login to utilize this feature.

Do note that this website only supports submissions in C++.

README.txt

ATTENTION: We've reimplemented this task in function-call style.
Include "dwarfs.h" in your code. You will have to implement the following two functions:
void init(int N, double X[], double Y[]) - called once at the start
bool highway(double X1, double Y1, double X2, double Y2) - return true if good and false if bad

A sample grader is provided in the attachments

dwarfs.pdf

Your browser does not support embedded PDF files. Please download the PDF instead.

Tags

Computational Geometry, Convex Hull

Subtasks and Limits

Subtask Score #TC Time Memory Scoring
1100105s32MBAverage
2015s32MBMinimum

Attachments

Attachment Filesize Last Updated
dwarfs.cpp257B30 Jun 2018, 16:54:05
dwarfs.h98B30 Jun 2018, 16:54:05
grader.cpp403B30 Jun 2018, 16:54:05

Judge Compile Command

g++-8 dwarfs.cpp grader.cpp -o dwarfs -Wall -Wshadow -static -O2 -lm -m64 -s -w -std=gnu++17 -fmax-errors=512

Accepted Submissions

subIDUserTimeMax Time

Past Submissions

subIDUserTimeScore
mrJudge 09.05.20
Copyright © 2020 mrJudge. All rights reserved.