Problem p03456 (python)

Fixed submission:
from math import sqrt
a, b = input().split()
n = int(a+b)
if(int(sqrt(n))**2 == n):
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [input() for _ in range(2)]
c=int(a+b)
for i in range(317):
    if i*i==c:
        print("Yes")
        break
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [input() for _ in range(2)]
c=int(a+b)
for i in range(317):
    if i**2==c:
        print("Yes")
        break
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [input() for _ in range(2)]
c=int(a+b)
import math
for i in range(317):
    if i**2==c:
        print("Yes")
        break
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [int(input()) for _ in range(2)]
import math
c=math.sqrt(a*(10**len(str(b)))+b)
if int(c) == c:
    print('Yes')
else:
    print('No')

Buggy submission (verdict: Runtime Error):
a, b= [int(input()) for _ in range(2)]
import math
c=math.sqrt(a*(10**len(str(b)))+b)
if int(c) == c:
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [int(input()) for _ in range(2)]
import math
c=a*(10**len(str(b)))+b
if int(math.sqrt(c)) == math.sqrt(c):
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [int(input()) for _ in range(2)]
import math
c=a*(10**len(str(b))+b)
if int(math.sqrt(c)) == math.sqrt(c):
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a, b= [int(input()) for _ in range(2)]
import math
c=a*(10**int (math.log10(b) + 1))+b
if int(math.sqrt(c)) == math.sqrt(c):
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())

import math

c=a*(10**int (math.log10(b) + 1))+b

if int(math.sqrt(c)) == math.sqrt(c):
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())

import math

c=a*(10**int (math.log10(b) + 1))+b

if int(math.sqrt(c)) == math.sqrt(c):
    print("Yes")
    print(c)
else:
    print("No")
    print(c)

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())

import math
if b < 10:
    c=a*10+b
elif b==100:
    c=a*1000+b
else:
    c=a*100+b

if int(math.sqrt(c)) == float(math.sqrt(c)):
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())

import math
if b < 10:
    c=a*10+b
elif b==100:
    c=a*1000+b
else:
    c=a*100+b

if int(math.sqrt(c))**2 == c:
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())

import math
if b < 10:
    c=a*10+b
elif b==100:
    c=a*1000+b
else:
    c=a*100+b

d= int(math.sqrt(c))
if d**2 == c:
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())
import math
if b < 10:
    c=a*10+b
else:
    c=a*100+b

d= int(math.sqrt(c))
if d**2 == c:
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
a = int(input())
b = int(input())

import math
c = a*100 + b
d= int(math.sqrt(c))
if d**2 == c:
    print("Yes")
else:
    print("No")