TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Compute A \times B.

Submission attempts (in order):
# include <bits/stdc++.h>
using namespace std;

int main(){
	int a,b;
	cin >> a >> b;
	cout << a*b << endl;
}

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B=input().split()
C=A*B
print(C)

A,B=input().split()
C=int(A)*int(B)
print(C)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = map(int,input().split())
print(a[0]*a[1])

a, b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = int(input().split())
print(a*b)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b = map(int,input())
print(a*b)

a,b = map(int,input().split())

print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A, B = int(input())

print(A*B)

A, B = map(int, input().split())

print(A*B)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A, B = map(int(), input().split())
print(A*B)

A, B = map(int, input().split())
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
x,y = input().split()
x = int(x)
y = int(y.replace(".",""))
print(x*y/100)


x,y = map(int, input().split())

print(x*y)


Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A=input()
B=input()

print(A*B)

A,B=[int(x) for x in input().split()]

print(A*B)



Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
if 1<=a<=100 and 1<=b<=100:
  return a*b

a = int(input())
b = int(input())
print(a*b)

a = int(input())
b = int(input())
if 1<=a<=100 and 1<=b<=100:
  print(a*b)


a = int(input())
b = int(input())
if 1<=a<=100 and 1<=b<=100:
  print(a*b)

for i,j in range(1,101):
  print(i*j)

a = int(input())
b = int(input())
if 1<=a<=100 and 1<=b<=100:
  return a*b

A = int(input())
B = int(input())
A*B

for i,j in [[1:100],[1:100]]:
  print(i*j)

for i,j in [1:100,1:100]:
  print i*j

a = int(input())
b = int(input())
print(a*b)

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import sys
import functools
import operator

L = []
for l in sys.stdin:
  L.append(l) 
A = list(map(int, L[1].split()))

answer = functools.reduce(operator.mul, A)
if answer <= 1000000000000000000:
  print(answer)
else:
  print(-1)

import sys
L = []
for l in sys.stdin:
  L.append(l)
N = int(L[0])
A = list(map(int, L[1].split()))

answer = 1
for a in A:
  answer = answer * a
  if answer > 1000000000000000000:
    print(-1)
    break
if answer <= 1000000000000000000:
  print(answer)

import sys
import functools
import operator

L = []
for l in sys.stdin:
  L.append(l) 
  A = list(map(int, L[1].split()))

answer = functools.reduce(operator.mul, A)
if answer <= 1000000000000000000:
  print(answer)
else:
  print(-1) 


A, B = map(int, input().split())
print(A * B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(int(input()) * int(input()))

a, b = map(int, input().split())
print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))

ans = 1

for i in range(n):
    ans *= a[i]
    if ans = 0:
        print(0)
        exit()
    elif ans > 10**18:
        print(-1)
        exit()

print(ans)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
def main():
  a,b = list(map(int,input().split()))
    print(a*b)
main()

def main():
  a,b = list(map(int,input().split()))
  print(a*b)
main()

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):



answer = a * b

print(answer)

A = int(input())
B = int(input())

answer = A * B
print(answer)


a, b = map(int, input().split())



answer = a * b

print(answer)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())

print(a*b)

a,b = input().split()

a = int(a)
b = int(b)

print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int, input.split())
print(a*b)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b=int(input().split())
print(a*b)

a,b=map(int,(input()).split())
print(a*b)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int, input())

print(a*b)

a,b = map(int, input().split())

print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
from decimal import *
a=input().split()
A=int(a[0])
B=int(a[1].replace(".",""))




ans=int(A)*int(B)//100
#print(A*B_int,(A*B_float)//100)
print(ans)

a=input().split()
print(int(a[0])*int(a[1]))

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n=int(input())
a=[int(z) for z in input().split()]
x=1
for i in a:
    x*=i
    if x>10**18:
        print("-1")
        break
print(x)

n=int(input())
a=[int(z) for z in input().split()]
x=1
for i in a:
    x*=i
    if x>10**18:
        print("-1")
        break
if x<=10**18:
    print(x)

a,b=map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
test

kari

A,B=map(int,input().split())
print(A*B)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(int(input() * int(input()))

a, b = [int(x) for x in input().split()]
print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(sum(map(int, input().split(' '))))

a, b = map(int, input().split(' '))
print(a * b)

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N=int(input())
As=list(map(int,input().split()))

Ans=1

for A in range(N):
    NewAns=Ans*As[A]
    Ans=NewAns
if Ans>10**18:
    Ans=-1

print(Ans)

inputs= list(input().split())
A=int(inputs[0])
B=int(float(inputs[1])*100//1)
Ans=A*B/100//1
print(int(Ans))

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a=input()
b=input()

print(int(a)*int(b))


a=input()
b=input()

print(a*b)

a,b = map(int,input().split())

print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
def solve():
    n = int(input())
    a = list(map(int, input().split()))

    ans = 1
 
    for i in a:
        ans *= i
      	if ans > int(1e18): return -1
    
    
    return ans
    

print(solve())


N, M = map(int, input().split())
print(N*M)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b=map(in,input().split())
print(a*b)

a,b=map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = int(input())

b = int(input())

print(a*b)

A = int(input())
B = int(input())
print(A * B)

a = int(input())
b = int(input())

print(a*b)

import random
A = random.randint(1,100)
B = random.randint(1,100)
print(A * B)

A=int(input)
B=int(input)
print(A*B)

print(int(input()) * int(input()))

a = int(input())
b = int(input())
print(str(a * b))


A = int(input())
B = int(input())
print(str(A*B))

a = int(input())
b = int(input())
print(a * b)

a = int(input())
b = int(input())
print(a*b)

A = input()
B = input()

print(A * B)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
# 169A


a, b = map(int, input().split())
print(a)
print(b)


answer = a * b

print(answer)

# 169A


a, b = map(int, input().split())
print(a)
print(b)


answer=a*b

print(answer)

unit_price=300

quantity=5


total_price=unit_price*quantity

print(total_price)

print(300*5)

# 169A


a, b = map(int, input().split())
#print(a)
#print(b)


answer = a * b

print(answer)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())

a = list(map(int, input().split()))
ans = 1
if a.index(0):
    ans = (0)
else :
    for i in range(N):
        ans = ans * a[i]
        if ans > 10**18:
            ans = -1
            break
print(ans)

a, b = map(int, input().split())
print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))

a_sorted=sorted(a)
ans = 1

if a_sorted[len(a_sorted)-1] == 0:
  ans = 0
else:
  for i in range(len(a_sorted)):
    ans = ans * a_sorted[i]
    if ans > 1000000000000000000:
      ans = -1
      break

print(ans)

a, b = map(int, input().split())

print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A, B = input().split()


A = int(A)
x = int(B[0]) * 100
y = int(B[1]) * 10
z = int(B[2]) * 1

C = x + y + z

print((A * C) // 100)


A, B = map(int, input().split())

print(A * B)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
from itertools import accumulate

N = int(input())
tu = tuple(map(int,input().split()))

p = list(accumulate(tu))[N-1]

if p > 1000000000000000000:
    print(-1)

else:
    print(p)

A, B = map(int,input().split())
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
x = int(input())
y = int(input())

print(x*y)

a, b = map(int, input().split())

print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a=[input() for i in range(2)]

a_num=a[1]
a_num=a_num.split()
a_list=[int(n) n in a_num]

a_mul=1

for i in a_list:
	a_mul*=i

if a_mul>10**18:
	a_mul=-1

print(a_mul)



a=[input() for i in range(2)]

a_num=a[1]
a_num=a_num.split()
a_list=[int(n) for n in a_num]

a_mul=1

for i in a_list:
	a_mul*=i

if a_mul>10**18:
	a_mul=-1

print(a_mul)



a=input()
a=a.split()

print(int(a[0])*int(a[1]))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())
print(A*B)

A, B = map(int, input().split())

print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
# -*- coding: utf-8 -*-
A, B = map(int, input().split())

return(A*B)

# -*- coding: utf-8 -*-
A, B = map(int, input().split())

print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b　= map(int, input().split())
print(a*b)

a,b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n = int(input())
ans = 1
l = list(map(int,input().split()))
for i in range(n) :
    ans *= l[i]
if ans > 10**18 :
    print('-1')
else :
    print(ans)

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b = [int(input()) for i in range(2)]

print(a*b)

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())
print(A*B)

A, B = map(int, input().split())
print(A * B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B=map(float,input().split())
C=B*1000
print(A*C//1000)


A,B=map(int,input().split())
print(A*B)

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(int(input())*int(input()))

A, B = list(map(int, input().split()))
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a=int(input())
b=int(input())
print(a*b)

print(int(input())*int(input()))

a,b= map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B=input().strip().split()
if A>=1 and A<=100 and B>=1 and B<=100:
    A*B

def cal(A,B):
    return A*B
cal(A,B)

N=int(input())
A=list(map(int, input().split()))
cal=1
i=0
while i < len(A):
    cal*=A[i]
    i+=1
if cal>=10**18:
        print(-1)
else:
        print(cal)


A,B=(int(x) for x in input().split())
A*B

A,B=input().strip().split()
A,B=[int(A),int(B)]
if A>=1 and A<=100 and B>=1 and B<=100:
    A*B

import math
try:
    A,B=input().strip().split()
    A,B=[int(A),float(B)]
    result=A*B
    result=int(math.floor(result))
    print(result)
except EOFError:
    pass


Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())
mul = a*b
print(mul)

a = int(input())
b = int(input())
print(a*b)

a, b = map(int,input().split())
mul = a*b
print(mul)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
return int(input()) * int(input())

return input() * input()

print(int(input())*int(input()))

print(int(int(input())*int(input())))

A = int(input())
B = int(input())
print(A*B)

A, B = map(int, raw_input().split())
print(A*B)

return int(input())*int(input())

A, B = map(int,input().split())
print(A*B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N=int(input())
A=list(map(int,input().split())
if 0 in A:
  print(0)
  exit(0)

ans=1
for i in A:
  ans*=i
  if ans>10**18:
    print(-1)
    exit(0)

print(ans)


N = int(input())
A = list(map(int, input().split()))
 


ans = 0
if 0 not in A:
  ans = 1
  for a in A:
    ans *= a
    if ans > 10**18:
      ans = '-1'
      break
 
print(ans)

N=int(input())
A=list(map(int,input().split())

ans=0
if 0 not in A:
  ans=1
  for a in A:
    ans*=a
    if ans>10**18:
      ans='-1'
      break

print(ans)

N=int(input())
A=list(map(int,input().split()))
 
if 0 in A:
    print(0)
    exit(0)
    
ans = 1 
for i in A:
    ans *= i
    if ans > 10**18:
        print(-1)
        exit(0)
        
print(ans)

a,b=map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a=int(input())
b=int(input())
print(a*b

a, b=map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
t1 = int(input())
t2 = int(input())
print(t1*t2)

t = int(input())
list_v = list(map(int,input().split()))
 
res = 1
if 0 in list_v:
  res = 0
else:
  for v in list_v:
    res *= v
    if res > 10**18:
      res = -1
      break
print(res)

t = int(input())
list_v = list(map(int,input().split()))
 
res = 1
for v in list_v:
  if v == 0:
    res = 0
    break
  res *= v
  if res > 10**18:
    res = -1
    break
print(res)

a, b = input()
print(a*b)

a, b = input().split()
print(int(a*b))

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
# -*- coding: utf-8 -*-
import sys


N, *d = map(int, open(0).read().split())
A = 1

for O in d:
    A = A*O
    print(O)
    if A > 10 ** 18:
     A = -1
     break
    
print(A)


N, *d = map(int, open(0).read().split())

if N > 0:
	A = 1
	for O in d:
		A = A * O
		print(O)
		if A >= 10 ** 18:
			A = -1
			break
else:
	A = 0

print(A)


N, *d = map(int, open(0).read().split())

if N > 0:
	A = 1
	for O in d:
		A = A * O
		#print(O)
		if A >= 10 ** 18:
			A = -1
			break
else:
	A = 0

print(A)

# -*- coding: utf-8 -*-
import sys


N, *d = map(int, open(0).read().split())

if 0 in d:
  print(0)
  return
  
for O in d:
	A = A * O
	#print(O)
	if A > 1000000000000000000:
		A = -1
		break

print(A)


N, *d = map(int, open(0).read().split())

if N > 0:
	A = 1
	for O in d:
		A = A * O
		print(O)
		if A > 10 ** 18:
			A = -1
			break
else:
	A = 0

print(A)

N, M = map(int, input().split())

print(N*M)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = int(input())
print(a * b)

a, b = map(int, input().split())
print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
s = 1
for i in a :
  s *= i
  if s > 10**18:
    print("-1")
  else:
    print(s)

n = int(input())
a = list(map(int, input().split()))
s = 1
for i in a :
  s *= i
if s > 10**18:
  print("-1")
else:
  print(s)

a, b = map(int, input().split())

print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int, input())
print(a * b)

a, b = map(int, input().split())
print(str(a * b))


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import random
A = random.randint(1,100)
B = random.randint(1,100)
print(A * B)

a,b=map(int,input().split())
print(a*b)


Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
A = input().split()
answer = 1
flag = 0
x = 10**18

if '0' in A:
  print(0)
  flag = 1
  
for i in range(N):
  answer *= int(A[i])
  if answer > x:
    print(-1)
    flag = 1
    break

if flag == 0:
  print(answer)



A,B =map(int,input().split())
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import numpy as np
A,B = list(map(float, input().split()))
print(np.trunc(A*B))

A,B = list(map(float, input().split()))
print(int((A*(B*1000))/1000))

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
ans = 1
 
 
i = [int(a) for a in input().split()]
 
if 0 in i:
  print(0)
  break
 
	for b in range(N):
  		ans = ans * i[b]
 
  		if ans > 10**18:
   		 	ans = -1
 
print(ans)

A,B = map(int, input().split())

print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(int(input())*int(input()))

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
def main():
    return A*B

main()

def main(x,y):
    return x*y

main(A,B)

a, b = map(int,input().split())

def main(x,y):
    return x*y

main(a,b)

A*B

a, b = map(int,input().split())
def main(x,y):
    print(x*y)

main(a,b)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
x, y = int(input("Number")), int(input("Number"))
print(x*y)


x, y = input("Number")
print(x*y)

a,b = map(int,input(). split ())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B=map(int,input().rstop().split(" ")
print(A*B)

A,B=map(int,input().rstrip().split(" ")
print(A*B)

A,B=map(int,input().rstrip().split(" "))
print(A*B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(eval(input().replace(' ','*'))

def solve():
    print(eval(input().replace(' ', '*')))


if __name__ == '__main__':
    solve()


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):

t_nums= list(map(int(),input().split()))
print(t_nums[0]*t_nums[1])

t_nums= list(map(int,input().split()))
print(t_nums[0]*t_nums[1])

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(int(input())*int(input()))

print(int(input())*int(input()))

x, y = input().split()
print(int(x)*int(y))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import numpy as np
n = int(input())
li = list(map(int, input().split()))

ans = np.prod(li)
print(ans) if ans <= 10**18) else print(-1)

x, y = map(int, input().split())

print(x*y)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = int(input().split())
print(a * b)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
x = 1
if 0 in a:
    x = 0
else:
    for j in a:
        x = j*x
        if x > 10**18:
            x = -1
            break
print(x)

n = int(input())
a = list(map(int, input().split()))
x = 1
if 0 in a:
    x = 0
for j in a:
    x = j*x
    if x > 10**18:
        x = -1
        break
print(x)

A, B = map(int, input().split())
print(A*B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A=int(input())
B=int(input())
if (A>=0 and A<=100) and (B>=0 and B<=100):
  print("A X B =",A*B)
else:
  print (NA)

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())
print(a*b)
  

a,b = int(input())
Z = a * b:
  print(Z)


import math
a,b = int(input())
Z = a*b:
  print(Z)


a,b = int(input())
Z = a*b:
  print(Z)

a,b = int(input())
if 1 <= a <=100 and 1 <= b <= 100
     print(a*b)


a,b = input()
Z = a*b:
  print(Z)


a,b = int(input())
Z = a*b:
  print(Z)


a,b = int(input())
Z = a*b
print(Z)


a,b =map(int,input().split())
if 1 <= a <=100 and 1 <= b <= 100:
     print(a*b)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import numpy as np

N = int(input())
A = [int(i) for i in input().split()]
a = np.array(A)
sum = np.prod(a)

if  sum > 10 ** 18:
    print(-1)
else:
    print(sum)


A, B =map(int, input().split())
print(A*B)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
print(a*b)2 

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(2*5)

print(100*100)








2*5=10
100*100=10000

a,b = map(int,input(). split ())
print(a*b)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
A = list(map(int,input().split()))

x = 1
y = 10**18

for i in A:
  x = x*i  

if (x>y) :
    print(-1)
else:
    print(x)


N = int(input())
A = list(map(int,input().split()))

x = 1


for i in A:
  x = x*i  
y = 10**18
if (x>y) :
    print(-1)
else:
    print(x)

N = int(input())
A = list(map(int,input().split()))

x = 1
y = 10**18

for i in A:
  x = x*i  

if (x>y) :
    print(-1)
else:
    print(x)


N = int(input())
A = list(map(int,input().split()))

x = 1


for i in A:
  x = x*i  

if (x<=1000000000000000000) :
    print(x)
else:
    print(-1)
    

N = int(input())
A = list(map(int,input().split()))

x = 1

y = 1000000000000000000

for i in A:
  x = x*i  

if (x>y):
    print(-1)
else:
    print(x)

N = int(input())
A = list(map(int,input().split()))

x = 1


for i in A:
  x = x*i  

if (x>1000000000000000000) :
    print(-1)
else:
    print(x)


A,B= map(int,input().split())

print(A*B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B = input().split()

print(A*B)

A,B = map(int,input().split())

print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import sys

def main(lines):
    
    
    # ---
    # This is a sample code to use stdin and stdout.
    # Edit and remove this code as you like.

    for i, v in enumerate(lines):
        print("line[{0}]: {1}".format(i, v))
        
if __name__ == '__main__':
    lines = []
    for l in sys.stdin:
        lines.append([int(s) for s in l.rstrip('\r\n').split()])
A=lines[0]
B=lines[1]
print(A*B)

import sys

def main(lines):
    
    
    # ---
    # This is a sample code to use stdin and stdout.
    # Edit and remove this code as you like.

    for i, v in enumerate(lines):
        print("line[{0}]: {1}".format(i, v))
        
if __name__ == '__main__':
    lines = []
    for l in sys.stdin:
        lines.append([int(s) for s in l.rstrip('\r\n').split()])
A=lines[0][0]
B=lines[0][1]
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = input().split()
A =int(a)
B = int(b.replace('.', ''))
x = str(A*B)
X = x[:-2]
print(X)



a, b = map(int, input().split())
print(a*b)

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):

N = int(input()) 



huga = list(map(long, input().split()))
ans = 1
flg = 0
for number in huga:
    ans = ans * number
    if ans > 10**18:
        flg = 1
        break

if flg == 0:
    print(ans)
else:
    print('-1')





L,R = map(int,input().split())
print(type(L),L,R)
# <class 'int'> 12 34

ans = L*R
print(ans)


L,R = map(int,input().split())
print(type(L),L,R)
# <class 'int'> 12 34

ans = L*R
print(ans)


L,R = map(int,input().split())

ans = L*R
print(ans)

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())
print(a*b)

A, B = input().split()

print(int(A)*int(B))

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):

in_d = input()
n = int(in_d)

a = [int(i) for i in input().split()]

result = 0
if 0 in a:
    print(0)
else:
    result = 1
    limit = 10 ** 18
    over = 0
    a.sort()
    for v in a:
        result *= v
        if result > limit:
            over = 1
            break
    if over == 1:
        print(-1)
    else:
        print(result)

in_d = input()

a, b = in_d.split()
a = int(a)
b = int(b)

c = a * b
print(c)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
def resolve():
    N, M = [int(i) for i in input().split()]
    print(A*B)


resolve()


def resolve():
    N, M = [int(i) for i in input().split()]
    print(N*M)


resolve()


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int,input().split())
print(a+b)

a, b = map(int,input().split())
print(a*b)

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b = int(input().split())
print(str(a*b))


a,b = int(input().sqlit())
print(str(a*b))

a,b = map(int,input().split())
print(str(a*b))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = input("A")
A = int(a)
b = input("B")
B = int(b)
c = A * B
print(c)


a = input()
A = int(a)
b = input()
B = int(b)
c = A * B
print(c)

A, B = input().strip().split()
A, B = [int(A), int(B)]
print(A * B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
#coding: utf-8

def __input__(string: str):
    X = str(input("―― "))
    em = 0
    Return = []
    error = False
    for spam in range(len(X)):
        if X[spam] == " ":
            Return.append(X[em:spam])
            em = spam+1
    Return.append(X[em:])
    if string == "int":
        for alpha in range(len(Return)):
            try:
                Return[alpha] = int(Return[alpha])
            except ValueError:
                error = True
                pass
    elif string == "float":
        for alpha in range(len(Return)):
            try:
                Return[alpha] = float(Return[alpha])
            except ValueError:
                error = True
                pass
    else:
        for alpha in range(len(Return)):
            Return[alpha] = str(Return[alpha])
    if error:
        return("エラー")
    else:
        return Return


l = __input__("int")
x = 1
for a in l:
  x *= a

print(x)


def __input__():
    X = str(input("―― "))
    em = 0
    Return = []
    for spam in range(len(X)):
        if X[spam] == " ":
            Return.append(int(X[em:spam]))
            em = spam+1
    Return.append(int(X[em:]))
    return Return
l = __input__()
x = 1
for a in l:
    x = x * a
print(x)

#coding: utf-8

def __input__():
    X = str(input("―― "))
    em = 0
    Return = []
    error = False
    for spam in range(len(X)):
        if X[spam] == " ":
            Return.append(int(X[em:spam]))
            em = spam+1
    Return.append(X[em:])

l = __input__()
x = 1
for a in l:
  x *= a

print(x)


def __input__():
    X = str(input("―― "))
    em = 0
    Return = []
    for spam in range(len(X)):
        if X[spam] == " ":
            Return.append(int(X[em:spam]))
            em = spam+1
    Return.append(int(X[em:]))
    return Return
l = __input__();x = 1
for a in l:
    x = x * a
print(x)

X = str(input())
em = 0
Return = []
for spam in range(len(X)):
    if X[spam] == " ":
        Return.append(int(X[em:spam]))
        em = spam+1
Return.append(int(X[em:]))
x = 1
for a in Return:
    x = x * a

print(x)

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import operator


N = int(input())
A = [int(x) for x in input().split()]


seki = reduce(operator.mul, a, 1)

if seki > 10**18:
    print("-1")
else:
    print(seki)

import operator


N = int(input())
A = [int(x) for x in input().split()]


seki = reduce(operator.mul, A, 1)

if seki > 10**18:
    print("-1")
else:
    print(seki)

import numpy as np


N = int(input())
A = [int(x) for x in input().split()]


seki = np.prod(A)


if seki > 10**18:
    print("-1")
elif 0 in A:
    print("0")
else:
    print(seki)

A,B = map(int, input().split())
print(A*B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B=map(int,input().split())
c=a*b
print(c)

a=int(input())
b=int(input())
c=a*b
print(c)


a,b = map(int,input().split())
c = a*b
print(int(c))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
input()
a = list(map(int,input().split()))
ans = 1
for n in a:
    ans *= n
    if ans <= 10**18:
        print(ans)
        break:
print(-1)

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

ans = 1

if 0 in A:
    print(0)
    exit()

for i in range(N):
    ans *= A[i]

    if ans > 10**18:
        ans = -1
        break

print(ans)


A, B = map(int, input().split())
ans = A*B
print(ans)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
x, y  = map(int, input().split)
print(x * y)

x, y  = map(int, input().split())
print(x * y)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n, k = map(int, input().split())
print(N*k)

n, k = map(int, input().split())
print(N*k)

n, k = map(int, input().split())
print(n*k)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
x = int(input())
y = int(input())
print(x * y)

x, y = list(map(int, input().split()))
print(x * y)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int, input())
print(a * b)

N = int(input())
n, p, score = N, 2, 0
while p ** 2 <= N:
  e = 1
  while n >= (p ** e) and n % (p ** e) == 0:
    n = n // (p ** e)
    score += 1
    e += 1
  else:
    p = p + 1 if p == 2 else p + 2
else:
  if sum([n % (i + 1) == 0 for i in range(p+1, n)]) == 1:
    score += 1
print(score)

a, b = map(int, input().split())
print(a * b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b=int(input())
print(a*b)

a,b=map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
A = (int(x) for x in input().split())
sum  = 1
for i in A:
    sum = sum * i
if(sum > (10**18)):
    print(-1)
else:
    print(sum)


N = int(input())
A = (int(x) for x in input().split())
sum  = 1
for i in A:
    sum = sum * i
if(sum > (10**18)):
    print(-1)
else:
    print(sum)


A,B=(int(x) for x in input().split())
print(A*B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A,B=map(int,input(),split())
print(A*B)

A,B=int(input())
print(A*B)

A,B=map(int,input().split())
print(A*B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a=int(input())
b=int(input())
c=a*b
print(c)

a, b = map(int, input().split())
print(a*b)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
import numpy as np
a = int(input())
b = np.array(list(map(int, input().split())))
b = np.prod(b)
if b > 10**18:
    print(-1)
else:print(b)


import numpy as np
a = int(input())
b = np.array(list(map(int, input().split())))
b = np.prod(b)
if b >= 10**18:
    print(-1)
else:print(b)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
x, y = map(int, input())
print(x * y)

x, y = map(int, input().split())
print(x * y)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
str = input()
arr = input.split(' ')
A = int(arr[0])
B = int(arr[1])

print(A * B)

A, B = input().split()
A = int(A)
B = int(B)
print(A * B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
tmp = input().split()
   ans = tmp[0] * tmp[1]
  print(ans)
 

tmp = input().split()
ans = int(tmp[0]) * int(tmp[1])
print(ans)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n=int(input())
number=[int(x) for x in input().split()]

for numb in number:
  sum *= numb
if(sum > pow(10,18)):
	print(-1)
else:
  print(sum)

a,b=(int(x) for x in input().split())
print(a*b)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a,b=map(int,inpnut().split())
print(a*b)

a=int(input())
b=int(input())
print(a*b)

a,b=map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
nums = map(int, input().split())

ans = 1
for n in nums:
  ans *= n

if ans == 0:
  print(0)
elif ans > 10**18:
  print(-1)
else:
  print(ans)

a, b = map(int, input().split())
print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A, B =map(int,input())
print(A*B)

A, B =map(int,input().split())
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n=int(input())
a=list(map(int,input().split()))

ans=1

if 0 in a:
    print(0)
    exit()

for i in a:
   ans*=i
   if ans>10**18:
    print(-1)
    exit()


print(ans)

a, b = map(int, input().split())
print(a*b);

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
# S = list(input().split())
# a = int(S[0])
# b = S[1].replace('.', '')
# B = int(b)
#
# ans = (a * B) // 100
# print(ans)

a, b = input().split()
A = int(a)
b = b.replace('.', '')
B = int(b)
ans = (A * B) // 100
print(ans)

# S = list(input().split())
# a = int(S[0])
# b = S[1].replace('.', '')
# B = int(b)
#
# ans = (a * B) // 100
# print(ans)

a, b = input().split()
A = int(a)
b = b.replace('.', '')
B = int(b)
ans = A * B // 100
print(ans)

import math

S = list(input().split())
a = int(S[0])
b = S[1].replace('.', '')
B = int(b)

ans = (a * B) // 100
print(ans)

a, b = map(int, input().split())
print(a * b)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
num1=input()
num1=int(num1)
num2=input()
num2=int(num2)
print(num1*num2)

num1=input()
num1=(int)num1
num2=input()
num2=(int)num2
print(num1*num2)

a,b=input().split()
print(int(a)*int(b))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(a * b)

a, b = int(input().split())
print(a * b)

int(A * B)

A * B

a, b = int(input())
print(a *b)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N = int(input())
A = [int(ai) for ai in input().split()]
ans = 1
if 0 in A:
  print(0)
else:
  for ai in A:
    ans *= ai
    if ans > 10**18:
      print(-1)
      break
  
  print(ans)



N = int(input())
 
A=[int(i) for i in input().split()]
 
answer=1
if 0 in A:
  print(0)
else:
  for i in range(N):
    answer = answer*A[i]
    if answer>10**18:
      print(-1)
      break
  else:
    print(answer)

a,b = map(int,intput().split())
p = a * b
print(p)

from math import floor
import decimal
a,b = map(decimal.Decimal,input().split())
r = floor(a * b)
print(r)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
# 169a



a, b = map(int, input(),split())
# print(a, b)


answer = a * b


print(answer)


a, b = map(int,input().split())
print(a * b)


Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IS(): return str(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

A = II()
B = II()

print(A*B)

sys.setrecursionlimit(10**5)
input = sys.stdin.readline
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IS(): return str(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

A, B = int(input())

print(A*B)

import sys
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IS(): return str(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

A = LI()

print(A[0]*A[1])

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())

print(int(A*B))

A = input()
A = int(A)
B = input()
B = int(B)

print(A*B)

A = int(input())
B = int(input())

C = A*B

print(C)

A = int(input())
B = inT(input())

print(A*B)

A = input()
B = input()

print(A*B)

A,B = int(input())

print(A*B)

A = int(input())
B = int(input())

print(A*B)

A,B = input().split()
A = int(A)
B = int(B)
print(A*B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
print(eval(input().replase(" ","*")))

print(eval(input().replace(" ","*")))

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
from sys import stdin

print('文字を入力してください。')
a, b = stdin.readline().rstrip().split()
print(int(a)*int(b))

from sys import stdin

a, b = stdin.readline().rstrip().split()
print(int(a)*int(b))

Verdicts: Wrong Answer

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A, B = input().split()
1 <= A <= 100
1 <= B <= 100
sum = A*B
print(sum)

A = 1<=A<=100
B = 1<=B<=100
sum = A*B
print(sum)

1<=A<=100
1<=B<=100
A = input(int())
B = input(int())
sum = A*B
print(sum)


a, b =map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A = A[::-1]
ans = 1
for i in range(N):
  if 0 in A:
    ans = 0
    break
  elif ans > 10**18:
    ans = -1
    break
  else:
    ans = ans*A[i]
if ans > 10**18:
  print(-1)
else:
  print(ans)

n = int(input())
a = [int(i) for i in input().split()]
 
if 0 in a: 
    ans = 0
else:
    ans = 1
    for ai in a:
        ans *= ai
        if ans > 10**18:
            ans = -1
            break
print(prod)

A,B = map(int, input().split())
print(A*B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
list_a=list(map(int, input().split()))
result=1
for a in range(list_a):
  result = result*a
  
if result > 10**18:
  print('-1')
else:
  print(result)

a, b = map(int, input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
# -*- coding: utf-8 -*-

N = int(input())

A = list(map(int, input().split()))

mul = A[0]
for i in A[1:]:
    mul *= i
    
    if mul > 1000000000000000000:
        print(-1)
        exit(-1)

print(mul)

# -*- coding: utf-8 -*-

input_list = input().split(" ")
print(int(input_list[0]) * int(input_list[1]))

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = int(x) for x in input().split()
print(a*b)

A, B = map(int, input().split())
print(A*B)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])

    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])

    return arr

n = int(input())
if n==1:
  print(0)
else:
  arr = factorization(n)
  trial_list = []
  for p in arr:
    i = p[0]
    j = p[1]
    for k in range(1,j+1):
      trial_list.append(i**k)
  sorted(trial_list)
  cnt=0
  for i in trial_list:
    if n%i==0:
      cnt+=1
      n//=i
  print(cnt)

a, b = map(int, input().split())
print(int(a*b))

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int, input().split()

ans = a * b
           
print(ans)

a, b = map(int, input().split())
answer = a * b
print(answer)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n=int(input())
a=list(map(int,input().split()))
ans = 1
for i in range(n):
  ans *= a[i]
  if 10**18 < int(ans):
    print(-1)
  else:
  	print(ans)


a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
from sys import stdin
from copy import deepcopy

def S(): return stdin.readline().rstrip()
def I(): return int(stdin.readline().rstrip())
def LS(): return list(stdin.readline().rstrip().split())
def LI(): return list(map(int,stdin.readline().rstrip().split()))
def R(x):
    r = round(x)
    if r+0.5 <= x:
        r += 1
    return r

a,b = I(),I()

print(a*b)

from sys import stdin
from copy import deepcopy

def S(): return stdin.readline().rstrip()
def I(): return int(stdin.readline().rstrip())
def LS(): return list(stdin.readline().rstrip().split())
def LI(): return list(map(int,stdin.readline().rstrip().split()))
def R(x):
    r = round(x)
    if r+0.5 <= x:
        r += 1
    return r

tmp = LI()

print(tmp[0]*tmp[1])

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
N, S = map(int, input().split())
A = list(map(int, input().split()))

dp = [[{} for i in range(S+1) ] for j in range(N+1)]
dp[0][0][0]=1
#print(dp)
for i in range(1,N+1):
  #print(i)
  a = A[i-1]
  if i==0:
    if a <= S:
      dp[i][a][1] = 1  
    continue
  for j in range(S+1):
    if len(dp[i-1][j])>0:
      for key, value in dp[i-1][j].items():
        dp[i][j][key] = value
    if j>=a:
      if len(dp[i-1][j-a]) > 0:
        for key, value in dp[i-1][j-a].items():
          if (key+1) in dp[i][j]:
            dp[i][j][key+1] += value
          else:
            dp[i][j][key+1] = value
last = dp[-1][-1]
ans = 0
for key, value in last.items():
  ans += 2**(N-key) * value
  ans %= 998244353
#print(last)
print(ans)
    
    
      
      

x,y = map(int, input().split())
print(x*y)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a, b = map(int(input().split())
print(a * b)

a, b = map(int, input().split())
print(a * b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a=int(input())
b=int(input())
print(a*b)

N = int(input())
A = list(map(int,(input().split())))
 
sum=1
 
if 0 in A:
    print(0)
else:
    for i in range(N):
        sum *= A[i]  
        if sum >= int(1e18):
            break
    print(sum if sum<= int(1e18) else -1)
N = int(input())
A = list(map(int,(input().split())))

sum=1

if 0 in A:
    print(0)
else:
    for i in range(N):
        sum *= A[i]  
        if sum >= int(1e18):
            break
    print(sum if sum<= int(1e18) else -1)


A, B = map(int, input().split())

print(A*B)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
A = int(input())
print(int(input())*A)

N = int(input())
A = list(map(int,input().split()))

ans = 1
for i in range(N):
  ans *= A[i]
  if ans > 10**18:
    ans = -1
    break
    
print(ans)
    

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())

print(a*b)

a, b = list(map(int, (input().split())))

print(a*b)

Verdicts: Runtime Error

Accepted
Problem: Compute A \times B.

Submission attempts (in order):
n = int(input())
arr = list(map(int,input().split()))
mul = eval('*'.join([str(n) for n in arr]))
print("-1" if mul > (10**18) else mul)

a,b = map(int,input().split())
print(a*b)

Verdicts: Runtime Error

Accepted