

Selecting Numbers based on their Octal FormCreate a program that enumerates all odd numbers between 100 and +100 that contain the digit 1 in their octal form in ascending order. Hints and GuideTo convert a number to octal form, we recommend using the One possible solution is available in: main.c. Possible ImprovementsIn programming contests where the execution time is crucial, a widely used technique is to store the constant output of the application (for example in an array) to avoid the delay caused by the calculation. We can apply this trick in our scenario since we need to store at most 100 integer.
Acknowledgement
This work was supported by the construction EFOP3.4.316201600021. The project was supported by the European Union, cofinanced by the European Social Fund.


University of Debrecen; Faculty of Informatics; v. 03/01/2019 