← Back to topics
Topic

Let

M
MilosRadic
can somebody check the grader for this cause i get wrong result on 9th test but when i test it myself all the solutions match
m
matijazzz
I had the same problem .. the test cases you' ve downloaded don't need variables declared as int64 or long long, but here on z-training 9th test case needs such declaration ..
M
MilosRadic
well i declared them as int64 but it fails again on the 9th test case
m
matijazzz
Ok, I've looked at your code. It is a bit different than my code. However, you always read values a,b,c and then add value a to niz[i]. Your niz[i] is declared as int64, but a isn't. a will not pass limits of the task, but if you add that value to int64 value, I think it has to be int64 too. :)
M
MilosRadic
well i can just declare a,b,c as int64
m
matijazzz
yes, declare a,b,c as int64 and it will pass. ;)
M
MilosRadic
it fails again...
EDIT:Ok it works now thanks:D
m
matijazzz
I post your code 2 minutes ago with a,b,c:int64 and it passed ...