Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.32 KB

File metadata and controls

37 lines (26 loc) · 1.32 KB

[Replit Template] Pushkin Contest

1. Setup quize solver

  1. Fork repository with task pattern.
  2. Open replit.com.
  3. Authorize in Replit via Github account.
  4. Click "New repl" -> "Import from GitHub" -> pass link to your fork.
  5. Enjoy!

OR just create a new Ruby Repl and copy files.

2. Quize registration

  1. Run this code in Replit.

  2. Wait until server has started.

  3. Then Replit's browser frame opens above console. Copy link from it and use it for registration in the system. How to get link guide.

  4. Open Quize server.

  5. Register with link of your replit server.

  6. Copy generated token to lib/solver.rb#6:10

3. Develop

Description

Quize server sends POST requests with quize task to your Replit server. Your server should solve this task and make POST request to the Quize server with the answer. Check lib/solver.rb for details!

Goal

Your task is to change Solver's code in that way, when it solves all quize tasks correctly and fastly.

Additional info

All needed data you can find in data/.

Gems

You can install any gem via "packages" interface in Replit. How to install gem guide.