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

median_ioi00 Batch , stdin/stdout

Registered Users Only

Please login to utilize this feature.

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

README.txt

Important note:

The problem has been implemented in function call format. Please ignore implementation notes in problem statement. Instead, your program should implement the following function:

int Median(int N)

It should return the index of the median. Med3() can be called as described in the question. GetN() and Answer() should not be called.

A sample grader is provided. The fromat of the input file is:
First line: The answer
Second line: N
Third line: N numbers indicating the strength at each index from 1 to N

median.pdf

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

Tags

IOI 2000

Subtasks and Limits

Subtask Score #TC Time Memory Scoring
1100101s32MBAverage
2011s32MBMinimum

Attachments

Attachment Filesize Last Updated
median.cpp57B2 Jun 2015, 15:15:47
device.h50B1 Jun 2015, 23:44:03
grader.cpp773B2 Jun 2015, 15:15:47

Judge Compile Command

g++-8 ans.cpp grader.cpp -o median_ioi00 -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.