Libinteractive: A Better Way to Write Interactive Tasks
Journal: Olympiads in Informatics (Vol.9, No. 1)Publication Date: 2015-08-01
Authors : Luis Hector CHAVEZ;
Page : 3-14
Keywords : interactive tasks; performance; omegaup; sandbox; security.;
Abstract
Interactive tasks are currently written as a set of language-dependent shims and libraries that are linked against the contestant’s code to produce a single executable. This implies that task writers often need to generate three or four different libraries that need to be tested separately, for C/C++, Pascal and Java. Furthermore, the libraries must be written with care to avoid cheating, since it is possible for contestants to access the memory and opened files of the whole process. libinteractive solves these problems by defining an interface description language that is used to automatically generate shims in all IOI-approved languages in a way that is easily sandboxed; and a fast, portable interprocess communication mechanism that allows complete separation of the task writer and contestant code in different processes. This simplifies task creation and testing, making all tasks compatible with any future approved languages
Other Latest Articles
- CNEM: Cluster Based Network Evolution Model
- Comparative Analysis of Parametric Engine Model and Engine Map Model
- Impact of Human Resource Practices on the Organizational Performance in Nestle Pakistan
- Anaerobic Digestion of Buffalo Dung: Simulation of Process Kinetics
- An Attempt to Calibrate the Laser Induced Fluorescence (LIF) Signal used for Oil Film Thickness (OFT) Measurements in Simulating Test Rigs
Last modified: 2016-01-18 22:39:19