# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
96664 | noneTP | Titlovi (COCI19_titlovi) | Cpython 3 | 23 ms | 3432 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
def go(a, b):
result = ""
l = len(str(a))
for i in range(b-l):
result += '0'
result += str(a)
return result
def abcde(x):
result = ""
a = int(l[i][x+0] + l[i][x+1])
b = int(l[i][x+3] + l[i][x+4])
c = int(l[i][x+6] + l[i][x+7])
d = int(l[i][x+9] + l[i][x+10] + l[i][x+11]);
fuck = d + c*1000 + b*1000*60 + a*1000*60*60
fuck += last
a = fuck//(1000*60*60)
fuck -= a*1000*60*60
b = fuck//(1000*60)
fuck -= b*1000*60
c = fuck//(1000)
fuck -= c*1000
d = fuck
result += go(a, 2) + ":" + go(b, 2) + ":" + go(c, 2) + "," + go(d, 3)
return result
l = []
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |