# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
165186 | boolodifjenula | Uzastopni (COCI17_uzastopni) | Cpython 3 | 1084 ms | 3304 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.
n=int(input())
k=n//2+2
i=0
while i!=n//2:
i+=1
z=0
t=0
for j in range(i,k):
z+=j
if z==n:
t=j
#print(z)
if t:print(i,t)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |