+ 8
How do i unlock a test case when it's hidden??
14 Réponses
+ 2
Gee Pebbles
You did opposite division.
You have to get hours so divide distance with average so It should be
time = 7425 / 550
print (time)
+ 9
I can't unlock testcases even if I go pro??
This is ridiculous. My code passes 4 out of 5 test cases and I cannot see where the issue is cause testcases are hidden. This is stupid.
I'd like to self correct but I do not know where the issue is because it's hiodden!
+ 5
You cant unlock the hidden test case, but if you write the right code you will pass the test. Do you pass test? If not show your code.
+ 4
Oh ok
Thanks 🙂🙂
+ 3
Gee Pebbles
Generic logic means which satisfy all condition for different inputs.
For example if we have inputs 2 and 3 then multiplication should be 6. If we have inputs 4 and 5 then multiplication should be 20.
So for above two cases we can write Hard Code logic means we can print like this
print (2 * 3)
print (4 * 5)
But if there are thousands test cases then it is not possible to write for every test case so for this we will write generic logic which will take inputs from user and gives result according to that.
So we can write Generic logic like this:
num1 = int(input())
num2 = int(input())
print (num1 * num2)
+ 3
Gee Pebbles
This is the link of problem. We can't see your code here.
+ 3
I have exactly the same issue: Tests 1-3 are passed for "Average of Rows". I can look at Tests 1+2, but not 3 although I apparently passed it ("locked", "hidden"). Tests 4+5 are failed, but I have no clue why, because I can't even look at test 4, since the (passed) Test 3 stays locked.
+ 2
Thank you!!🙂
+ 2
https://www.sololearn.com/coach/1018?ref=app
This is the code
+ 2
time = float(550 / 7425)
print (time)
This is it
+ 2
And what if I have put the correct code ("checked") and hidden is still hidden?
+ 1
Gee Pebbles
If you write generic logic then all test cases will be pass.
+ 1
But what is generic logic??
+ 1
Even though I passed Test Case 1 and Test Case 2, I am not able to proceed further on next test and it does not show pass option. Is this any error in Sololearn?
https://www.sololearn.com/learning/eom-project/1157/1020