Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 1.1 KB

README.md

File metadata and controls

24 lines (12 loc) · 1.1 KB

OGE - task 5

This code allows you to search for all solutions for task 5 on the OGE in computer science of the following type:

The performer has two computer commands. to which numbers are assigned:

  1. Some kind of operation...

  2. Some kind of operation...

The first of them converts the number on the screen, the second converts the number in a different way.

Make an algorithm for obtaining from the number N's the number N'e, containing no more than N'm commands. Write down only the command numbers in the response.

ScreenRecorderProject253_2

Instructions

The program iterates through all options with a certain nesting (specified by the user) and saves those that satisfy the request.

You can find examples of such tasks on the sdamgia website, but keep in mind that this script is not able to perform tasks with searching for the b variable!

ScreenRecorderProject253.mp4