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

decrypt Batch , stdin/stdout

Registered Users Only

Please login to utilize this feature.

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

README.txt

We've reimplemented this problem in function call style, so include decrypt.h at the start of your code.

You need to implement one function:
void decrypt()

You will be able to call two library functions:
int query(int x) - Makes an encryption query
void solution(int R[], int M[]) - Guesses the solution. R must contain 3 elements and M must contain 256 elements

A sample grader is provided for you in the attachments

decrypt.pdf

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

Tags

Balkan OI 2011

Subtasks and Limits

Subtask Score #TC Time Memory Scoring
1100100.1s64MBMinimum
2010.1s64MBMinimum

Attachments

Attachment Filesize Last Updated
decrypt.cpp101B24 Jun 2014, 23:55:55
grader.cpp691B25 Jun 2014, 17:15:07
decrypt.h117B24 Jun 2014, 23:55:08

Judge Compile Command

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