Skip to content
programavimas.xyz docs

New problem

How to create a programming problem or an Excel task, and what each field of the new problem dialog means.

Every archive user can create problems. A new problem is unpublished: students don’t see it until you publish it.

  1. Open Problem archive → Problems and click New problem.
  2. Enter a Name (up to 200 characters), for example “Sum of two numbers”.
  3. Optionally pick a Collection: Choose… opens the collection tree, New collection… creates one. When you are browsing a collection you can edit, it is already selected. Don’t file in a collection (×) clears the choice.
  4. Choose the Type:
    • Programming problem – students write code; tests judge it;
    • Excel task – students upload an .xlsx workbook; rules grade it automatically.
  5. For a programming problem, choose Input/output:
    • Standard input and output;
    • Input and output files – give the Input file and Output file (duom.txt and rez.txt by default).
  6. Choose Who can find it: Private (the default) or Organisation. If you work in several organisations, pick the Organisation.
  7. Click Create and edit. The problem editor opens.
Programming problem Excel task
Statement A template in your interface language: the sections Task, Input, Output and Example with an empty sample test block. The input and output sentences already name standard streams or the file names. A template with the sections Task and Submitting.
Grading 1 s time limit, 256 MB memory, and each course’s languages. No tests yet. No rules yet, unlimited uploads, no starter workbook.
Owner You. You.

You can change all of this in the editor. The problem becomes a draft of version 1 (see Drafts and publishing).

  • File names: letters, digits, ., - and _, up to 64 characters, starting with a letter or digit. The input and output files must differ. Letter case matters: Duom.txt and duom.txt are different files.
  • Organisation: only organisations where you are an admin, a group admin, or a course owner or teacher are offered. A private problem still belongs to an organisation: its admins can see and change it.
  • Public sharing is not offered at creation. Make a problem public deliberately, in the Sharing card of its settings.
  1. Write the statement and sample tests – Statement editor.
  2. Add hidden tests – Tests – or an Excel task’s rules – Excel tasks.
  3. Publish – Drafts and publishing.
  4. Try it – Test in editor.
  5. Add the problem to a course topic (the course’s Problems → Add problems, see Adding problems).