Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Test Failedexpected 513.01 (#BigDecimal:55970764d9c8,'0.51301E3',18(18)) to be a kind of Float
--> how to get float successfully in postgres
1 test case fail due to float
cast( (SUM(j.salary) / COUNT(p)) as float(2) ) as average_salary
numeric is failing
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
above worked . used integer instead of numeric
This comment is hidden because it contains spoiler information about the solution
@stɛffan153 ah, I was thinking of CyberChef, so that made little sense :D
C++ has that test, and the expecte is 2.
@B1ts CodeChef is a thing ;) https://www.codechef.com/
Maybe this guy is coming from there and accidentally said the wrong thing.
We just told you how...
???
i am referring to test cases of codewars that is provided. how to view the inputs from codechef ?
Where do you see that test? It should be 2.
Try printing it out in the console
You can use
print(text)
to see inputs. Also, use spoiler flag plz... (next time you post code)how to view input data of test cases ?
Loading more items...