| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Language: Funny Games
Description ![]() Technical note: To ease the problem of rounding errors, there will be no edge cases where an infinitesimal perturbation of the input values would cause a different answer. Input The first line of input is N <= 100, the number of test cases. Each of the next N lines consists of X, K and then the K numbers F1, F2, . . . , Fk, having no more than 6 decimals Output For each test case, produce one line of output with the name of the winner (either Nils or Mikael). Sample Input 4 6 2 0.25 0.5 10 2 0.25 0.5 29.29 4 0.3 0.7 0.43 0.54 29.30 4 0.3 0.7 0.43 0.54 Sample Output Mikael Nils Nils Mikael Source |
[Submit] [Go Back] [Status] [Discuss]
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator