[Community Puzzle] The fastest

Hi everyone,

I have a problem: in this puzzle I validate every test case but I fail at test1 in validation. I am afraid they are testing the case without input (or I have a mistake I haven’t found) but they are not telling us what to do in the case whithout input: should we print “INVALID” or “00:00:00” or something like that? If someone has a solution or a hint I will gladly take it.

Thanks

Input
4
10:15:46
03:59:10
04:00:08
03:59:09

Output
03:59:09

Thanks,

I’ll try these

I had in fact just a stupid mistake not detected by test case.

I am just wondering why that puzzle is medium level?

5 Likes

Hey why my first validator failed ?

Because your code is wrong.

1 Like

Yes, Fixed it got 100 % :slight_smile:

Hello, i have the same issue, the test 1 is OK in the test cases, but not OK in the submit. Is there any hint for that ? my program is working fine for all the other cases

See the first answer of this thread.
You can set expert mode in the settings and then it allows you to add custom validators.
Add the one given above and try to debug your output.

1 Like