Alice and bob play a game called stones
For example, if , can make the following moves:. Complete the gameOfStones function in the editor below. It should return a string, either First or Second. The first line contains an integer , the number of test cases. Each of the next lines contains an integer , the number of stones in a test case. On a new line for each test case, print First if the first player is the winner. Otherwise print Second. In the sample, we have testcases. Place free inquiry. Calculate the price. Learn more about our help with Assignments: C.
Comments No comments. Be the first! Thank you! Your comments have been successfully added. However, they need to be checked by the moderator before being published. Choose subject Choose category We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies. Prepare NEW. Input Format.
Output Format. Sample Input 0. Console Contribute. Run Code Submit. All Problems. Need more space? Try using full screen mode! Got it!
0コメント