45372023-03-29 13:21:21Leventusz19Sakktábla (75 pont)python3Wrong answer 70/7517ms13396 KiB
import math

def main():
    in1 = list(map(int, input().split()))
    print(math.floor(math.sqrt(((in1[0] if in1[0] < in1[1] else in1[1]) * 2) + 1)))

if __name__ == '__main__':
    main()
SubtaskSumTestVerdictTimeMemory
base70/75
1Accepted0/017ms11108 KiB
2Accepted0/017ms11236 KiB
3Accepted5/517ms11468 KiB
4Accepted5/517ms11344 KiB
5Accepted5/517ms11696 KiB
6Accepted5/517ms11960 KiB
7Wrong answer0/517ms12292 KiB
8Accepted5/517ms12428 KiB
9Accepted5/517ms12660 KiB
10Accepted5/517ms12864 KiB
11Accepted7/717ms13172 KiB
12Accepted7/717ms13396 KiB
13Accepted7/717ms13164 KiB
14Accepted7/717ms12972 KiB
15Accepted7/717ms12956 KiB