[Community Puzzle] Swatch Internet Time - Puzzle discussion

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Cakeisalie5,validated by @LeMasSon,@Mohamed_Kharrat and @Wontonimo.
If you have any issues, feel free to ping them.

My code passes all exemple tests but fail at submission 3. I can’t find why.

If you want, you may send me your code in private message and I’ll take a look.

The following custom case may help those who fail Validator 3:

Input

04:19:40 UTC-09:49

Output

@631.02
1 Like

Thank you very much 5DN1L I could find my error with your test case.

1 Like

I’m interested in what error you identify using this test case, if you have the time to write a message on the contribution page for the puzzle, so that I can adapt the test cases to suit this :slight_smile:

2 Likes

Validator 3 no longer fails on that mistake, but a new specific test/validator pair now exists for this case specifically. Thanks @5DN1L! :slight_smile:

1 Like

My code pass everything except validator 5, can’t pin down why

In Validator 5, the given time is close to midnight, and the given time zone is close to UTC (hours = 0, minutes ≠ 0). Try creating some custom cases like that to test your code.

thanks ! I got it with that hint !