45042023-03-29 11:12:29PallanekPéterSakktábla (75 pont)python3Wrong answer 20/7518ms13260 KiB
import math
be=[int(i) for i in input().split()]
n=min(be)
m=max(be)
if math.sqrt(n*2)%1==0:
    print(int(math.sqrt(n*2)))
elif math.sqrt(n*2+1)%1==0:
    print(int(math.sqrt(n*2+1)))
SubtaskSumTestVerdictTimeMemory
base20/75
1Accepted0/018ms11004 KiB
2Wrong answer0/017ms11384 KiB
3Accepted5/517ms11408 KiB
4Accepted5/517ms11760 KiB
5Accepted5/517ms12012 KiB
6Wrong answer0/517ms12508 KiB
7Wrong answer0/517ms12396 KiB
8Wrong answer0/517ms12472 KiB
9Wrong answer0/517ms12252 KiB
10Accepted5/517ms12424 KiB
11Wrong answer0/717ms12648 KiB
12Wrong answer0/717ms13124 KiB
13Wrong answer0/717ms13056 KiB
14Wrong answer0/717ms13068 KiB
15Wrong answer0/717ms13260 KiB