خرید بک لینک

Vote count: 0

I am trying to answer the 1A-Theatre Square problem on CodeForces. Its keeps telling me: "Runtime error on test 1"

Here is my code:

n= int(input())
m= int(input())
a= int(input())
n1=1
n2=1
while n>a*n1:
    n1=n1+1
    break
while m>a*n2:
    n2=n2+1
    break
print (n1*n2)

I am still a begier, so I f you have any comment or advice, It would be appreciated and thank you for the time you took to read through my question.

asked 21 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 26 تير 1395 ساعت: 8:37

صفحه بندی