It is a question from Code Coach challenges. To convert US date to EU date. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

It is a question from Code Coach challenges. To convert US date to EU date.

I ran all the test cases I could see and all ran correctly. Still only the first test case is satisfied rest are failed when running the test cases in Code Coach Challenge. Please tell me if there is anything wrong in it. This is my code: https://code.sololearn.com/cqR5JMD45Hyx/?ref=app

19th Jun 2020, 4:34 PM
Prabhanshu Chaturvedi
5 Answers
+ 4
I got it now. It was printing \0 somehow and thus the cases were failing.
14th Jul 2020, 8:20 AM
Prabhanshu Chaturvedi
+ 5
Second test case shows correct output but it is still evaluated wrong. I'll see the question again.
20th Jun 2020, 5:40 AM
Prabhanshu Chaturvedi
+ 5
It was private so it can now be seen. I made it public.
20th Jun 2020, 5:29 PM
Prabhanshu Chaturvedi
+ 4
See problem carefully you'll get to know how to solve
20th Jun 2020, 5:37 AM
vaibhav
vaibhav - avatar
+ 4
Also, I couldn't find any information regarding the question.
20th Jun 2020, 5:30 PM
Prabhanshu Chaturvedi