Task Overview Day 1
 

TASK

Chain

Circuit

Trip

Task directory

d:\chain

d:\circuit

d:\trip

Input file

none

circuit.in

trip.in

Output file

none

circuit.out

trip.out

Library files for FreePascal

meter.ppw, meter.ow

none

none

Library files for C/C++

meter.h, meter.o

none

none

Time limit per test case

1 second

1 second

1 second

Memory limit

32MB

32MB

32MB

Maximum source code size

1MB

1MB

1MB

Compiler options for C and C++

-O2 -static meter.o

-O2 –static

-O2 –static

Compiler options for FreePascal

-So -O2 -XS

-So -O2 –XS

-So -O2 -XS

Subtasks

1

3

2

Number of test cases

25

20

20

Maximum points per test case

4

5

5

Partial score

Yes

No

No

Maximum total points

100

100

100

Error messages of the library meter:

  • Input file chain.in not found
  • Non-number value in first line of chain.in
  • Value out of range in first line of chain.in
  • Number of items in second line of file chain.in less than required
  • Non-number value in second line of file chain.in
  • Value out of range in second line of file chain.in
  • Duplicate values in second line of file chain.in
  • Illegal Dialogue! Size must be called first
  • Parameter out of range in call Span
  • Illegal Dialogue! Atom accessed more than four times
  • Duplicate values in second line of file chain.in