Dyskusje Q&A
Matt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case.
hunt({3 1 2}) = {2 3 4}
0 głosów
2 odpowiedziPopularne dzisiaj
Flowing Words
0 Votes
Cool Projects for Python
0 Votes
Help
2 Votes
If you had to start all over again on solo learn, which programming language would you learn first?
0 Votes
Black hole
3 Votes
Returning to Sololearn
2 Votes
Passwords and Account Info
1 Votes
Game
3 Votes
Crashing Problems
1 Votes