TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
from collections import deque

def main():
    n = int(input())
    A = list(map(int, input().split()))
    ans = 0
    B = [0] * n
    # ansList = []
    ansList = deque()

    def makeList(num):
        start = num + 1
        mul = n // start
        return [start * j - 1 for j in range(1, mul+1)]


    def makeRes(indices):
        flag = 0
        for elm in indices:
            if B[elm] == 1:
                flag = (flag + 1) % 2
        return flag


    for i in range(n-1, -1, -1):
        if i + 1 >  n / 2:
            if A[i] == 1:
                B[i] = 1
                ans += 1
                ansList.appendleft(i+1)
        else:
            indices = makeList(i)
            
            res = makeRes(indices)
            # print(res)
            if A[i] != res:
                B[i] = 1
                ans += 1
                ansList.appendleft(i+1)

    print(ans)

    if ans != 0:
        print(*(list(ansList)))


if __name__ == "__main__":
    main()

r = int(input())
print(3 * (r ** 2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = int(input())
A =[]
for i in range(N):
  A.append(int(input()))
m = max(A)
j = A.index(m)
for k in range(N):
  if k != j:
    print(m)
  else:
    B = A[:]
    del B[j]
    print(max(B))

r = int(input())
print(3 * r * r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
def func():
    input_num = int(input(''))
    a_i = [int(input('')) for i in range(input_num) ]
    frag, count = True, [0]*input_num
    count = [1 for i in range(input_num) if a_i[0] == a_i[i]]
    frag = False if sum(count) >= 2 else True
    value = [[a_i[i] if a_i[i] != a_i[j] else 0 for i in range(input_num )] for j in range(input_num)] if frag == True else [[a_i[i]for i in range(input_num )] for j in range(input_num)]
    for i in range(input_num):
        print(max(value[i]))
if __name__ == '__main__':
    func()
    


def func():
    input_num = int(input(''))
    a_i = [int(input('')) for i in range(input_num) ]
    frag, count = True, [0]*input_num
    count = [1 for i in range(input_num) if a_i[0] == a_i[i]]
    frag = False if sum(count) >= 2 else True
    value = [[a_i[i] if a_i[i] != a_i[j] else 0 for i in range(input_num )] for j in range(input_num)] if frag == True else [[a_i[i]for i in range(input_num )] for j in range(input_num)]
    for i in range(input_num):
        print(max(value[i]))
if __name__ == '__main__':
    func()

def func():
    input_num = int(input(''))
    a_i = [int(input('')) for i in range(input_num) ]
    frag, count = True, 0
    for i in range(input_num):
        if a_i[0] == a_i[i]:
            count += 1
    if count == input_num:
         frag = False
    if frag == True:
        value = [[a_i[i] if a_i[i] != a_i[j] else 0 for i in range(input_num )] for j in range(input_num)]
    else:
        value = [[a_i[i]for i in range(input_num )] for j in range(input_num)]
    for i in range(input_num):
        print(max(value[i]))
if __name__ == '__main__':
    func()

def func():
    input_num = int(input(''))
    a_i = [int(input('')) for i in range(input_num) ]
    frag, count = True, [0]*input_num
    count = [1 for i in range(input_num) if a_i[0] == a_i[i]]
    frag = False if sum(count) >= 2 else True
    value = [[a_i[i] if a_i[i] != a_i[j] else 0 for i in range(input_num )] for j in range(input_num)] if frag == True else [[a_i[i]for i in range(input_num )] for j in range(input_num)]
    for i in range(input_num):
        print(max(value[i]))
if __name__ == '__main__':
    func()
    


def func():
    input_num = int(input(''))
    return 3*input_num**2


if __name__ == "__main__":
    print(func())

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
S = input()

S = int(S)

S = 3 * S**2

S = input()

S = int(S)

S = 3 * S**2

print(S)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
print(3 * a ** 2)


r = int(input())
print(3 * r ** 2)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
print(3*input()**2)

print(3*(int(input())**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r = input(int())
print(3 * r ** 2)

r = int(input())
print(3 * r ** 2)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
pritn(3*r**2)

r = int(input())
print(3*r**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(int(3*r^2))

r = int(input())

print(int(3*r**2))

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*(int(input()))**2)


Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n = int(input())
print(r ** 2 * 3)

n = int(input())
print(n ** 2 * 3)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = input()
s = 3 * (r ** 2)
print(s)


r = int(input())
s = 3 * (r ** 2)
print(str(s)

r = int(input())
s = 3 * (r ** 2)
print(s)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = int(input())
a = []
a = list(map(int,input().split()))
 
b = [0]*N
for i in reversed(range(N)):
    j = i + 1
    buf = b[i::j]
    if (sum(buf) % 2) != a[i]:
        b[i] = 1
print(sum(b))
bb = [i+1 for i in range(N) if b[i] == 1]
if sum(b) != 0:
    print(' '.join(map(str, bb)))

r = int(input())

print(3 * r ** 2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

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

x = int(input())
print(3*x*x)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

a = input()
print (3*a*a)


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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
a=input().split()
n=int(a[0])
d=int(a[1])


if n%(d*2+1)==0:
	print(int(n/(d*2+1)))
elif n%(d*2+1)!=0:
	print(int(n/(d*2+1))+1)


r=int(input())
print(3*r*r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
print(r*r*3)


r=int(input())
ans=r*r*3
print(ans)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
print(3 * (r ** 2)

r = int(input())
print(3 * r ** 2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
def a(r):
    return 3*r**2

r=int(input())
r=3*r**2
print(str(r))

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r=input()

print(3*r^2)

r=int(input())
answer=3*r^2
print(answer)

r=int(input())
answer=3*r**2
print(answer)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = int(input())
memo = 1
ans = []
tmp = int(input())
for i in range(1,N):
    A = int(input())
    if A <= tmp:
        memo += 1
    else:
        ans.append(memo)
        memo = 1
    tmp = A
ans.append(memo)
print(max(ans))

r = int(input())
print(3*(r**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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


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


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
using System;

class Test
{
    public static void Main()
    {
        int a;
        a=int.Parse(Console.ReadLine());
        a = 3 * a * a * a;
        Console.WriteLine(a);
    }
}

N=int(input())
A=[int(input()) for i in range(N)]
M=max(A)
sort_A=sorted(A, reverse=True)

for j in range(N):
    if A[j]==M:
        if A.count(M)==1:
            print(sort_A[1])
        else:
            print(M)
    else:
        print(M)


r=int(input())

print(3*r*r)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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


print( 3 * int(input())**2)


Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):

r = int(input())
print(fun(r))

def fun(r):
  a = 3 * r**2
  return a






def fun(r):
  a = 3 * r**2
  return a

r = int(input())
print(fun(r))


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*a**2)

import sys
a = map(int, input().split())

print(3*a*a)


import sys
a = int(input())
print(3*a**2)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n = int(input())
a_list = list(map(int,input().split()))
b_list = [0]*(n-n//2)+a_list[(n-n//2):]

for i in range(n//2+1):
    k = int(n//2-i-1)
    if a_list[k] != sum(b_list[k::k+1])%2:
        b_list[k] = 1

b_list = [i+1 for i,x in enumerate(b_list) if x ==1]
x = len(b_list)
print(x)
if x != 0:
    print(*b_list)

r = int(input())


print(3*r**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import math

line = list(map(int, input().split(" ")))
N = line[0]
D = line[1]

bord = math.ceil(N/(2*D+1))

print(bord)


r=int(input())
S=3*r*r
print(S)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n = int(input())
a = []
for _ in range(0, n):
    a.append(int(input()))
first = max(a)
second_1 = sorted(a)
second = second_1[-2]
for i in range(0, n):
    if a[i] == first:
        print(second)
    else:
        print(first)

n = int(input())
print(3*n*n)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r = input()
print(3*r**2)

r = int(input())
b=r*r
c=r*3
print(c)

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

a = input()
2a = 3 * (a ** a)

print (2a)


r = int(input())
b=r*r
c=b*3
print(c)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
def resolve():
    s = int(input())
    print(s * s * 3)

def resolve():
    s = int(input())
    print(s * s * 3)
def()

def resolve():
    s = int(input())
    print(s * s * 3)
resolve()

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
print(3+r**2)

r = int(input())
print(3*r**2)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
a = int(input())
print(3*a^2)

a = int(input())
print(3*(a^2))

a = int(input())
print(3*a**2)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = input()
print(3 * N**2)

N = int(input())
print(3 * N**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
m=3*r*r
prnit(m)

r=int(input())
m=3*r*r
print(m)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

a = [int(input()) for i in range(n)]

x = int(0)
y = int(0)

for i in range(n):
    x = max(a[:i])
    y = max(a[i + 1:])
    print(max(x,y))

r = int(input())

print(r**2*3)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*int(input())**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
# input
N = int(input())
A = []

#list
for i in range(N):
    n = int(input())
    A.append(n)

#max
for i in range(N):
    A_=A[:i]
    A__=A[i+1:]
    print(max(A_+A__))

r = int(input())
print(3*r**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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


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


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n = int(input())
a = [0 for n in range(n)]
for i in range(n):
  a[i] = int(input())
a_max = max(a)
for j in range(n):
  if a[j] != a_max:
    print(a_max)
  else:
    a.sort()
    a.reverse()
    print(a[1])

n = int(input())
print(3*(n^2))

n = int(input())
print(3*n*n)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
a = int(input())
print(3*a^2)


a = int(input())
print(3 * a^2)


a = int(input())
print(3a^2)


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


Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
b = [0 for _ in range(len(a) + 1)]
for i in range(len(a)):
    ri = len(a) - i
    if sum(b[::ri]) % 2 != a[ri - 1]:
        b[ri] = a[ri - 1]
b = b[1:]
print(len(str(b).split("1"))-1)
for i in range(len(b)):
    if b[i]:
        print(i + 1, end="")
        print(" ", end="")

print(3 * (int(input()) ** 2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N,D=map(int,input().split())
a=0
while a*((2*D)+1)<N:
    a=a+1
print(a)

r=int(input())
print(3*(r**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n=int(input())
a=[]
for i in range(n):
    a.append(int(input()))
c=max(a)
check=False
for i in range(n):
    if a[i]==c&&check==False:
        b=a[:i]+a[i+1:]
        d=max(b)
        print(d)
    elif a[i]==c&&check==True:
        print(d)
    else:
        print(c)

r=int(input())
print(3*r**2)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n=int(input())
l=list(map(int,input().split()))
b=[]
emp=[0]*n
ans=0
for i in range(n)[::-1]:
  c=n//(i+1)
  s=0
  while (c+1)*(i+1)<=n:
    s+=emp[(c+1)*(i+1)-1]
    c+=1
    s%=2
  if l[i]!=s:
    b.append(str(i+1))
    ans+=1
    emp[i]=1
print(ans)
print(" ".join(b))


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

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r=map(int,input())
a=3(r*r)


r=map(int,input())
a=3(rxr)


r=(int,input().split)
a=3(rxr)


r=(int,input())
a=3(r*r)


r=map(int,input().split())
a=3(r*r)

r=int(input())
a=3(rxr)


r=int(input())
a=3(r*r)


r=(int,input())
a=3(rxr)

r=int(input())
a=3*(r*r)
print(a)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = int(input())
mylist = []
for i in range (N):
  A = int(input())
  mylist.append(int(A))
my = sorted(mylist,reverse=True)
del my[2:]
for j in range (N):
  if mylist[j] == my[0]:
    print(my[1])
  else:
    print(my[0])

r = int(input())
print(3* (r**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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


r = int(input())**2*3
print(r)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*int(input())**2)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

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

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import bisect
n = int(input())
a = int(input())

color = [a]
color_min = a

for i in range(1, n):
    a = int(input())
    if color_min >= a:
        bisect.insort_left(color, a)
        color_min = a
    else:
        j = bisect.bisect_left(color, a)
        color.pop(j-1)
        bisect.insort_left(color, a)
        color_min = color[0]

print(len(color))


r = int(input())

print(3 * r ** 2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
echo(r^2*3)

print(r**2*3)

r = int(input())
print(r**2*3)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n,d = (int(i) for i in input().split())

d = d*2 +1
q = n//d
mod = n % d
ans = q
if mod != 0:
    ans += 1

print(ans)

r = int(input())
t = 3*r**2
print(t)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
print(3*(a**2))

r = int(input())
print(3*(r**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n = int(input())
A = [int(i) for i in input().split()]
A.insert(0, 0)

balls = list()
sums = dict()
# for i, a in enumerate(reversed(A)):
for bn in range(n, 0, -1):
    a = A[bn]
    if 2*bn > n:
        sums[bn] = a
        if a == 1:
            balls.append(str(bn))
    else:
        a2_sum = sums[2*bn]
        if a2_sum % 2 == a:
            # not
            sums[bn] = a2_sum
        else:
            # in
            sums[bn] = a2_sum + 1
            balls.append(str(bn))

all_balls = len(balls)
if all_balls % 2 != A[1]:
    print(-1)
else:
    print(all_balls)
    print(' '.join(balls))


r = int(input())
print(3*r**2)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = input()
print(3 * r * r)


r = input()
print(2 * r * r)


r = int(input())
print(2 * r * r)


r = int(input())
print(3 * r * r)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
a = int(input())
print(3*a^2)

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

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
def multiple_factors(i, N):
  factors = []
  factors.append(int(1*i))
  for index in range(1, N//i):
    factors.append(int(index*i))
  return factors
  
def assign_ball(factors, blist, ai, b_add_index):
  sum_b = 0
  for index in range(len(factors)-1, 0, -1):
    sum_b += blist[factors[index]-1]
  
  if ai != sum_b%2:
    blist[factors[0]-1] =1
    b_add_index.append(str(factors[index]))
  return blist, b_add_index

      
N = int(input())
alist = list(map(int, input().split()))
blist = [0 for i in range(N)]
M = 0
b_add_index = []
for i in range(N-1,-1, -1):
  factors = multiple_factors(i+1, N)
  blist, b_add_index = assign_ball(factors, blist, alist[i], b_add_index)

if sum(blist)%2 != alist[0]:
  print(-1)
else:
  print(len(b_add_index))
  print(" ".join(b_add_index))

print(3*(int(input())**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import bisect

N = int(input())
A = []
for i in range(N):
    A.append(int(input()))

ans = [A[0]]
for i in range(1, N):
    index = bisect.bisect_left(ans, A[i])
    if index > 0:
        ans[index - 1] = A[i]
    else:
        ans = [A[i]] + ans

print(len(ans))


r = int(input())
print(3 * r ** 2)


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r = int(input())
print(3*r*r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

def solve():
    r = int(input())
    print(3*r**3)

if __name__ == "__main__":
    solve()


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

def solve():
    r = int(input())
    print(3*r**2)

if __name__ == "__main__":
    solve()


Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = input()
print(3 * r * r)

r = int(input())
print(3 * r * r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n,d=input().split()
N=int(n)
D=int(d)
if N%(2*D+1)==0:
  print(N//(2*D+1))
else:
  print(N//(2*D+1)+1)

A=input()
print(3*A**2)

r=int(input())
print(3*(r**2))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
print(3r^2)


r = int(input)
print(3r^2)

r = int(input())
print(3*r*r)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

# coding: utf-8
# Your code here!

r = int(input())
 
print(3*r*r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N,D = list(map(int,input().split()))
human = 1
hani = 2*D+1
while hani < N:
    hani = hani + (2*D+1)
    human +=1
    
print(human)


N,D = list(map(int,input().split()))
human = 1
hani = 2*D+1
haniwhile hani < N:
    hani = hani + (2*D+1)
    human +=1
    
print(human) = kanshi


r = int(input())

print(3*r*r)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N, D = map(int, input().split())
print(int(N//(2*D+1.001) + 1))

r = int(input())
print(3*r*r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
print(3*a**2)

print(3*int(input())**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import math

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

print(math.ceil(N / (D * 2 + 1)))

input_ = int(input())

print(3 * input_ ** 2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

a = []
maximum = 0
second_maximum = 0
for i in range(n):
    input_num = int(input())
    a.append(input_num)
    if input_num > maximum:
        second_maximum = maximum
        maximum = input_num
    elif input_num > second_maximum:
        second_maximum = input_num
        
for a_num in a:
    if a_num == maximum:
        print(second_maximum)
    else:
        print(maximum)

n = int(input())

print(3 * (n ** 2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*r*r)

r = input()

print(3*r*r)

r = int(input())

print(3*r*r)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r=int(input())
print(3(r**2))

r=int(input())
print(3r**2)

r=int(input())
print(3(r**2))

r=int(input())
print(3*r**2)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
n, d = map(int, input().split())
i = (d * 2) + 1
if n % i == 0 :
  print(n / i)
else :
  print((n // i) + 1)


r = int(input())
print(3 * r * r)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
a, b = map(int, input().split())
s = a//(2*b+1)
if a%(2*b+1) == 0:
  print(s)
else:
  print(s+1)

N = int(input())
a = [int(input()) for i in range(N)]
s = sorted(a,reverse=True)
for i in range(N):
  if s[0]!=a[i]:
    print(s[0])
  else:
    print(s[1])
    

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*(int(input())**2))


Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
def dodecagon(r):
    return 3*r^2

r = int(input())
print(3 * r * r)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
# -*- coding: <encode name> -*-

r = int(input())
input(3 * r * r)

# -*- coding: <encode name> -*-

r = int(input())
input(3 * (r ** 2))

# -*- coding: <encode name> -*-

r = int(input())
print(3 * r * r)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N=int(input())
A=[]
for i in range(N):
    A.append(-int(input()))
for i in range(N):
    Ai=A[i]
    A[i]=0
    print(-min(A))
    A[i]=Ai

print(3*int(input())**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = int(input())
kotae = 3*r**2

r = int(input())
kotae = 3*r**2
print(kotae)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(4 * r * r)

r  = int(input())

print(3 * r * r)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r = int(input())
print(3 * r**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3 * (a * a * a))

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

a = int(input())
print(3 * (a ** 2))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r = map(int, input())
b = 3*r**2
print(b)

r = int(input())
b = 3*r**2
print(b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r =int(input())
print(3*r*r)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import numpy as np
n = int(input())
an = np.array(input().split(" ")).astype("int64")
if an[0] == 0:
    if n % 2 == 0:
        print("0")
    elif n % 2 == 1:
        print("1")
        print("1")
elif an[0] == 1:
    if n % 2 == 0:
        print("1")
        print("1")
    elif n % 2 == 1:
        print("0")

import numpy as np
n = int(input())
an = np.array(input().split(" ")).astype("int64")


if an[0] == 0:
    if n % 2 == 0:
        print("0")
    elif n % 2 == 1:
        print("1")
        print("1")
elif an[0] == 1:
    if n % 2 == 0:
        print("1")
        print("1")
    elif n % 2 == 1:
        print("0")

r = int(input())
print(3 * (r ** 2))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r = int(input())
print(3 * r * r)

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

def sol(i,want):
    num=int(N/(i+1))
    wa=-A[0]
    for j in range(num):
        wa+=A[i+j*i]
    wa=wa%2
    if wa==want:
        x=0
    else:
        x=1
#     print(num)
    return x 

B=A[:]
for i in range(half):
    j=half-1-i
#     print(j)
    B[j]=sol(j,A[j])
    
C=[]
for i in range(N):
    if B[i]==1:
        C.append(i+1)
m=sum(B)
print(m)
print(*C)

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

def sol(i,want):
    num=int(N/(i+1))
    wa=-A[0]
    for j in range(num):
        wa+=A[i+j*i]
    wa=wa%2
    if wa==want:
        x=0
    else:
        x=1
#     print(num)
    return x 

B=A[:]
half=int(N/2)
for i in range(half):
    j=half-1-i
#     print(j)
    B[j]=sol(j,A[j])
    
C=[]
for i in range(N):
    if B[i]==1:
        C.append(i+1)
m=sum(B)
print(m)
print(*C)

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

def sol(i,want):
    num=int(N/(i+1))
    wa=-A[0]
    for j in range(num):
        wa+=A[i+j*i]
    wa=wa%2
    if wa==want:
        x=0
    else:
        x=1
#     print(num)
    return x 

B=A[:]
for i in range(half):
    j=half-1-i
#     print(j)
    B[j]=sol(j,A[j])
    
C=[]
for i in range(N):
    if B[i]==1:
        C.append(i+1)
m=sum(B)
print(m)
for i in range(m):
    print(C[i])

r = int(input())
print(3*r**2)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N=int(input())
a=[0]*(N)
maxim=[0]*(N)
for i in range(N):
    a[i]=int(input())
maxim=sorted(list(a), reverse=True)
for k in range(N):
    if a[k]!=maxim[0]:
        print(maxim[0])
    else:
        print(maxim[1])

N=int(input())
a=[0]*N
maxim=[0]*N
for i in range(N):
    a[i]=int(input())
maxim=sorted(list(a), reverse=True)
for k in range(N):
    if a[k]!=maxim[0]:
        print(maxim[0])
    else:
        print(maxim[1])

r=int(input())
print(r*r*3)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

print(3*int(input())**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
print(3*(input()**2))


print(3*input()**2)

print(3*(int(input())**2))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

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

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
def main10():
    num = int(input())
    result = num * num * 3
    print(num)

if __name__ == "__main__":
    main10()

def main10():
    num = int(input())
    result = num * num * 3
    print(result)

if __name__ == "__main__":
    main10()

Verdicts: Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = int(input())
A = [int(input()) for _ in range(N)]
result = []
for i in range(N):
    C = A[i]
    A[i] = 0
    result.append(max(A))
    A[i] = C

for a in result:
    print(a)

r = int(input())
rr = r ** 2
print(3 * rr)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = input()
print(3*r*r)



r = int(input())
print(3*r*r)



Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r=int(input())
print(3r**2)

r=int(input())
print(3*(r**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import sys
input = sys.stdin.readline
def sol():
    n=int(input())
    new=[int(input()) for _ in [0]*n]
    a=[new[0]]
    for i in range(1,n):
        if a[-1]>=new[i]:a.append(new[i])
        else:
            for j in range(len(a)):
                if a[j]<new[i]:a[j]=new[i];break
    print(len(a))
sol()

print(3*int(input())**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r = input()
return 3*(r**2)

r = int(input())
print(3*(r**2))

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
N = int(input())
A = list(int(input()) for i in range(N))
ans = A[0]
for i in range(N):
    for n in range(i):
        if ans < A[i]:
            ans = A[i]
    for n in range(i+1,N):
        if ans < A[i]:
            ans = A[i]
    print(ans)
    ans = A[0]

r = int(input())
ans = r**2*3
print(ans)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
import math

n,d = map(int,input().split())

k = n/(d*2+1)
print(math.ceil(k))

r = int(input())
print(3*r**2)

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

Submission attempts (in order):
r=int(input())
S=3r**2
print(S）

r=int(input())
print 3*r*r

r=int(input())
s=3r**2
print('s')

r=int(input())
print(3*r*r)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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


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

Verdicts: Runtime Error

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

r=int(input())
print(8*r**2)

r=int(input())
print(3*(r**r))

r=int(input())
print(3*r**2)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: It is known that the area of a regular dodecagon inscribed in a circle of radius a is 3a^2.  Given an integer r, find the area of a regular dodecagon inscribed in a circle of radius r.

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

radius = int(input())
print (3 * radius * radius)

Verdicts: Runtime Error

Accepted