You are not logged in. Please login at www.codechef.com to post your questions!

×

Writing Interactors and Checkers on Codechef

I'm having trouble writing interactors on codechef platform. Can anyone who has written an interactor for a codechef problem show a sample of an interactor? Thanks.

UPD : I'm also facing problems on writing a working checker.

UPD : For writing an interactor, I used #include "spoj_interactive.h", but even including this header throws errors about some variables being already defined.

asked 22 Nov '16, 13:30

zscoder's gravatar image

6★zscoder
62813
accept rate: 6%

edited 23 Nov '16, 07:18


What is an interactor?

link

answered 22 Nov '16, 13:33

mathecodician's gravatar image

6★mathecodician
2.6k11034
accept rate: 7%

Look at the interactive problems. You need to write a program (for the judge side) that can read the participant's input and output accordingly.

(22 Nov '16, 13:39) zscoder6★

Oh like the RESTPERM at the last lunchtime.

(22 Nov '16, 14:00) mathecodician6★

Yes, that's one example of an interactive problem.

(22 Nov '16, 14:04) zscoder6★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×72

question asked: 22 Nov '16, 13:30

question was seen: 456 times

last updated: 23 Nov '16, 07:18