45052023-03-29 11:16:15PallanekPéterSakktábla (75 pont)python3Accepted 75/7517ms12824 KiB
import math
n,m=[int(i) for i in input().split()]
if (n>m):
    n=m+1
if (m>n):
    m=n+1
print(int(math.sqrt(n+m)))
SubtaskSumTestVerdictTimeMemory
base75/75
1Accepted0/017ms11020 KiB
2Accepted0/017ms11440 KiB
3Accepted5/517ms11492 KiB
4Accepted5/517ms11468 KiB
5Accepted5/517ms11536 KiB
6Accepted5/517ms11544 KiB
7Accepted5/517ms11664 KiB
8Accepted5/517ms11924 KiB
9Accepted5/517ms12188 KiB
10Accepted5/517ms12228 KiB
11Accepted7/717ms12300 KiB
12Accepted7/717ms12544 KiB
13Accepted7/717ms12604 KiB
14Accepted7/717ms12824 KiB
15Accepted7/717ms12736 KiB