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):
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):
n = int(input())
nums = []
for i in range(n):
    nums.insert(i,int(input()))
for i in range(n):
    print(max(max(nums[0:i],nums[i+1:n+1])))

n = int(input())
nums = []
for i in range(n):
  nums.append(int(input()))
cache = sorted(nums)
maximum = nums[0]
second = nums[1]
if maximum == second:
  flag = True
else:
  flag = False
for i in nums:
  if i == maximum && !flag:
    print(second)
  else:
    print(maximum)

r = input()
print(int(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):
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):
a = input()
a = int(a)
print("{}".format(3*a*a*a))

a = input()
a = int(a)
print("{}".format(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):
int = int(input()) 
S = 3*int**2
return S

i = int(input())
print(3*i**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())

x = 2*D+1
y = N/x
z = N//x
if z==0:
    print(y)
else:
    print(z+1)


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(2*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 (ans = 3*a*a)

a = int(input())
print(a*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):
a,b=map(int,input().split())
print(0--a//b)

a,b=map(int,input().split(' '))
print(0-(-a//b))

a=[int(input())for i in[0]*int(input())]
b=max(a)
if a.count(b)>1:print('\n'.join([b for i in a]))
else:
  c=[b for i in a]
  c[a.index(b)]=max(a[:a.index(b)]+a[a.index(b)+1:])

a,b=map(int,input().split(' '))
print(-(-a//(1+2*b)))

a=[int(input())for i in[0]*int(input())]
b=max(a)
if a.count(b)>1:print('\n'.join([str(b)]*len(a)))
else:
  c=[b for i in a]
  c[a.index(b)]=max(a[:a.index(b)]+a[a.index(b)+1:])

a,b=map(int,input().split(' '))
print(-(-a//(1+2*b)))

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

Verdicts: 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):
print(3*(int(input())**3))


n=int(input())
a=[int(input()) for i in range(n)]
b=sorted(a,reverse=True)
x,y=b[0],b[1]
z=a.index(x)
for i in range(n):
	if i==z:
		print(y)
	else:
		print(x)

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

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: 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 = 2*r*r
print(s)


r = int(input())
s = 3*r*r
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*(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):
r = int(input())
print( 3 * r ^ 2 )

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

r = int(input())
print( 3 * r ** 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 = 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):
r=int(input())
print(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):
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):
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):

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

import bisect

color = []
color.append(a.pop(0))
color_count =0 
for i, ai in enumerate(a): 
    index = bisect.bisect_left(color, ai)
    if index > 0:
        color[index -1] = ai
    else:
        color.insert(0, ai)
print(len(color))

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 * pow(int(input(), 2)))

print(3 * pow(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 = int(input())
a = list(map(int,input().split()))
ball = [0 for i in range(n)]
count = 0
index = []

for i in range(n-1, n//2 - 1, -1):
    if a[i] == 1:
        ball[i] = 1
        count += 1
        index.append(i+1)
for i in range(n//2 - 1, -1, -1):
    if ball[i + (i+1)] % 2 != a[i]:
        ball[i] = ball[i + (i+1)] + 1
        count += 1
        index.append(i+1)
    else:
        ball[i] = ball[i + (i+1)]
        
ans = ""
for i in range(len(index)):
    if i < len(index)-1:
        ans += str(index[i]) + " "
    else:
        ans += str(index[i])
print(count)
print(ans)

a = int(input())
print(3*a**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 = 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 = 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):
r = int(input())
s = 3 * r * r * r
print(str(s))

r = int(input())
s = 3 * r * r
print(str(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):
N = int(input())
A = [int(input()) for _ in range(N)]

max_A = sorted(A)[-1]
second_A = sorted(A)[-2]

for n in range(N):
    if A[n] != max_A:
        print(max_A)
    else:
        print(second_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=[int(input()) for i in range(N)]
D=sorted(A)
num=max(D)
num2=D[-2]
for i in range(N):
    if A[i]==num:
        print(num2)
    else:
        print(num)

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()
r=int(r)
print(3(r**3))

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

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

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):
r = 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):
N,D=map(int,input().split());print(-(-N//(2*D+1)))

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**))

r=int(input())
print(int(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=int(input())
a = [int(input()) for _ in range(n)]
b = max(a)
c = a.index(b)
for i in range(n):
        if i == c:
                print(max(sorted(a)[:n-1]))
        else:
                print(b)

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):
a = int(input()) 
print(a**3)

a = int(input())
print(3 * (a ** 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 = input()
r = int(a)
print(3*r*r)

N = input()
D = input()
n = int(N)
d = int(D)
k = (n+2*d)/(2*d+1)
print(k)

r = input()
a = int(r)
print(3*a*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):
print("-1")

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):
num = input()
print(3 * num * num) 

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


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)]
a_max = max(a)
a2 = a[:]
a2.remove(a_max)
a_second_max = max(a2)

for i in range(n):
    if a[i] == a_max:
        print(a_second_max)
    else:
        print(a_max)

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 = int(input())
A = []

for _ in range(N):
    A.append(int(input()))
    
a = max(A)
b =  sorted(A)[-2]

for i in range(N):
    if A[i] < a:
        print(a)
    else:
        print(b)

N = int(input())
A = []
 
for _ in range(N):
    A.append(int(input())
    
for i in range(N):
    if A[i] >= a:
        b = a
        a = A[i]
    elif A[i] > b:
        b = A[i]
 
for i in range(N):
    if A[i] < a:
        print(a)
    else:
        print(b)

N = int(input())
A = []
 
for _ in range(N):
    A.append(int(input()))
    
a = b = 0
    
for i in range(N):
    if A[i] >= a:
        b = a
        a = A[i]
    elif A[i] > b:
        b = A[i]
 
for i in range(N):
    if A[i] < a:
        print(a)
    else:
        print(b)


N = int(input())
A = []

for _ in range(N):
    A.append(int(input()))
    
a = b = A[0]
    
for i in range(N):
    if A[i] > a:
        b = a
        a = A[i]
    elif A[i] < a and A[i] > b:
        b = A[i]

for i in range(N):
    if A[i] <= a:
        print(a)
    else:
        print(b)

import numpy as np

N = int(input())
A = []

for _ in range(N):
    A.append(int(input()))
    
a = max(A)
b =  sorted(set(A))[-2]
    
'''
for i in range(N):
    if A[i] > a:
        b = a
        a = A[i]
    elif A[i] < a and A[i] > b:
        b = A[i]
'''

for i in range(N):
    if A[i] < a:
        print(a)
    else:
        print(b)


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

Verdicts: 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):
r = input()

menseki = 3 * r * r
print(menseki)

r = int(input())

menseki = 3 * r * r
print(menseki)

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 -*-

import math

if __name__ == '__main__':
    N = int(input())
    A = []
    current_max = -1
    for i in range(N):
        A.append(int(input()))

    index = sorted(range(len(A)), key=lambda k: A[k])
    value = sorted(A)

    # print(A)

    for i in range(N):
        if index[i] < N-1:
            print(value[N-1])
        else:
            print(value[N-2])

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

import math

if __name__ == '__main__':
    N = int(input())
    colors = [
        10000000000
    ]
    
    # M = 0

    for i in range(N-1, -1, -1):
        # print('i={}'.format(i))
        a = int(input())
        for j in range(len(colors)):
            if a < colors[j]:
                colors[j] = a
                break
        else:
            colors.append(
                a
            )

    print(len(colors))


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



if __name__ == '__main__':
    r = int(input())
    area = 3 * r * r
    print(area)


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):
import sys


def calc_area_size(a):
    return int(3 * (a ** 2))


if __name__ == '__main__':
    r = sys.argv[1]
    print(calc_area_size(r))

from sys import stdin


def calc_area_size(a):
    return int(3 * (int(a) ** 2))


if __name__ == '__main__':
    r = stdin.readline().rstrip()
    print(calc_area_size(r)

from sys import stdin


def calc_area_size(a):
    return int(3 * (a ** 2))


if __name__ == '__main__':
    r = stdin.readline().rstrip()
    print(calc_area_size(r))


from sys import stdin

print(int(3 * (int(stdin.readline().rstrip()) ** 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):
r=int(input())
print(3*(a**2))

n=int(input())
A=list(map(int, input().split()))
box=[0]*n
for i in range(n-1,-1,-1):
    if n//(i+1)<=1 and A[i]==1:
        box[i]=1
    elif n//(i+1)<=1 and A[i]==0:
        pass
    elif n//(i+1)>1:
        if A[i]==sum(box[2*(i+1)-1::(i+1)])%2:
            pass
        elif A[i]!=sum(box[2*(i+1)-1::(i+1)])%2:
            box[i]=1
ans=""
for i in range(n):
    if box[i]==1:
        ans+=str(A[i])+" "
if sum(box)%2==A[0]:
    print(sum(box))
    print(ans)
else: print("-1")

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):
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):
N = int(input())
A = [int(input()) for i in range(N)]
A_m = str(max(A))
a = A.index(int(A_m))
A = sorted(A)
if A.count(int(A_m)) >= 2:
    print((A_m + '\n')*(N-1) + A_m)
else:
    print(a)
    print((A_m + '\n')*a + str(A[-2]))
    print((A_m + '\n')*(N-(a+2)) + A_m)


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(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):
N, D = map(int, input().split())
a = N / (2 * D + 1)
if N % (2 * D + 1) == 0:
    print(int(a))
else:
    print(int(a) + 1)


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())
As = []
for i in range(N):
    As.append(int(input())
for j in range(N):
    instAs = As
    instAs.pop(j)
    print(max(instAs)

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(map(int, input().split()))
b = [0] * n
l = []

for i in range(n, 0, -1):
    if a[i-1] == 1:
        if n//i < 2:
            b[i-1] = 1
        else:
            c = n//i
            asums = 0
            for j in range(1, c+1):
                asums += a[j*i-1]
            if asums%2 == 1:
                b[i-1] = 1
    else:
        if n//i < 2:
            b[i-1] = 0
        else:
            c = n//i
            asums = 0
            for j in range(1, c+1):
                asums += a[j*i-1]
            if asums%2 == 1:
                b[i-1] = 1

for k in range(0, n):
    if b[k] == 1:
        l.append(k+1)

print(len(l))
print(" ".join(map(str, l)))


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 main():
    a = int(input())
    lists= [int(input()) for _ in range(a)]
 
    temp = lists.copy()
    first = max(temp)
    temp.remove(first)
    second = max(temp)
 
    for i in range(a):
        if lists[i] == first:
            print(second)
        else:
            print(first)
 
if __name__ == '__main__' :
    main()

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):
rint(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):
a = int(input())
print(3a**2)

a = int(input())
print(3*a**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())
print(3 * r * r)

r = input()
r = int(r)
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(4*(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):
def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)

    divisors.sort()
    return divisors

N = int(input())
A = list(map(int, input().split()))
ANS = [0]*len(A)
sum=0
ansList = []
for i in range(len(A),0,-1):
    if(ANS[i-1]%2!=A[i-1]):
        tList = make_divisors(i)
        for j in tList:
            ANS[j-1]+=1
        ansList.append(i)
print(len(ansList))
for i in ansList:
    print(i, end=" ")


def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)
    return divisors

N = int(input())
A = list(map(int, input().split()))
ANS = [0]*len(A)
ansList = []
for i in range(len(A),0,-1):
    if(ANS[i-1]%2!=A[i-1]):
        tList = make_divisors(i)
        for j in tList:
            ANS[j-1]+=1
        ansList.append(i)
print(len(ansList))

for i in ansList:
    print(i, end=" ")

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

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 = input()
A=[]
for i in range(0,int(n)):
  a=input()
  A.append(int(a))

for i in range(0,int(n)):
  if ( sorted(A)[-1] == A[i]):
  	print (sorted(A)[-2])
  else:
    print(sorted(A)[-1])

a=input()
b=int(a)

S=3*b**2

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):
r = int(input())
print(3*a**2)

r = int(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 = 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):
# Python3 program to insert 
# an element into sorted list 
import bisect 

def insert(list, n): 
	bisect.insort(list, n) 
	return list



n=int(input())
l=[]
q=[]
w=[]
S=[]
D=[]
for i in range(0,n):
    o=int(input())
    l.append(o)
G=0;
for i in range(0,len(l)-1):
    if l[i] <= l[i+1]:
        G=1;
        break;
if G==0:
    print(len(l))
else:
    for i in range(0,len(l)):
        o=l[i]
        if i==0:
            q.append(o)
        else:
            V=-1;
            G=0;
            I=0;
            J=len(q)-1;
            while(I<=J):
                m=(I+J)//2;
                if q[m] < o:
                    V=m;
                    I=m+1;
                else:
                    if q[m]>=o:
                        J=m-1;
            if V==-1:
                q=insert(q,o);
            else:
                q[V]=o;
    print(len(q))

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 = 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):
r = 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):
a = int(input())
print(3a**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(int(input()**2*3))

print(int(input())**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()

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

r=input()

print(3*int(r)*int(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=int(input())
listA=(input().split())
list1=[0 for i in range(n)]
list2=[]
numOfBox=0

for i in range(n,0,-1):
    #print(i)
    count=1
    s=0
    while i*count<=n:
        s+=list1[i*count-1]
        count+=1
    #print(s)
    if s%2!=int(listA[i-1]):
        list1[i-1]+=1
        numOfBox+=1
        list2.append(i)
#print(list1)
print(numOfBox)
for i in range(len(list2)):
    print(list2[i],end=" ")

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):
r = int(input())
print(3 * (3 ** 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):
import math
N, D = map(int,input().split())
print(N, D)
cnt = math.floor(N/(2*D+1))
if N%(2*D+1) != 0:
  cnt += 1
print(cnt)

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=int(input)
def area(int x):
  area=3*(x^2)
  return area
x=area(a)
print (x)

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):
a=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*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):
r=input()
print(3*r*r)

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):


import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

print(3*int(read()**2))




import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

print(3*int(read())**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):
object Main extends App {
  val r = scala.io.StdIn.readInt
  println(r * r * 3)
}


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(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):
a = float(input())
print("{}".format(3*a*a))


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

a = int(input())
print("{}".Format(3*a*a))

N,D = map(int,input().split())
a = (N-1)/(2*D)
if (N-1)%(2*D) == 0:
	print(a)
else:
 	print((N-1)//(2*D+1))


a = int(input())
print("{}".format(3*a*a)

N,D = map(int,input().split())
a = N//(2*D+1)
if N%(2*D+1) == 0:
	print(a)
else:
 	print(a+1)


a = int(input())
print("{}".format(3*a*a))


Verdicts: Wrong Answer

Wrong Answer

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):
def solve():
    n=int(input())
    num=[]
    def append(num1):
        num.append(num1)
    def count1(num2):
        return num.count(num2)
    for i in range(n):
        a=int(input())
        append(a)
    max1=max(num)
    count=count1(max1)
    if count>1:
        for i in range(n):
            print(max1)
    else:
        for i in range(n):
            if num[i]==max1:
                if i==0:
                    print(max(num[1:]))
                elif i==n-1:
                    print(max(num[:n-1]))
                else:
                    print(max(max(num[:i]),max(num[i+1:])))
            else:
                print(max1)
solve()


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 = int(input())    
color_list =  [int(input())]
for i in range(N-1):
    new_value = int(input())
    if(new_value > color_list[0]):
        color_list[0] = new_value
    elif(new_value <= color_list[-1]):
        color_list.append(new_value)
    else:
        for i in range(len(color_list)):
          break
print(len(color_list))

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):
S = 3*(r**2)

3*(r**2)

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):

print(str(3r**2))

r=int(input())
print(str(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 = map(int.input())
print(3*a**2)

a =int(input())
print(3*a**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(3r^2)

r = int(input())

print(3*r^2)

r = int(input())

print(3*r**2)

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())
print (3*n*N)

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):
inputs = [int(x) for x in input().split()]

N = inputs[0]
D = inputs[1]
answer = 0
if N > (D*2) + 1:
  check = N % ((D*2) + 1)
  answer = N / ((D*2) + 1) 
  answer = int(answer)
  if check != 0:
    answer += 1
  
else:
  answer = 1
  
print(answer)

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

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())
numList  = [input() for i in range(n)]
maxVal = max(numList)
workList = numList[:]
workList.remove(maxVal)
secondVal = max(workList)
for num in numList:
  if num != maxVal:
    print(maxVal)
  else:
    print(secondVal)

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

max = (n - d) - d
count = 1

for i in range(1000):
  if max <= 1:
    break
  max = (max - (d*2) -1) 
  count += 1

print(count)

import sys
input = sys.stdin.readline
 
def main():
  n = int(input())
  numList  = [int(input()) for _ in range(n)]
  maxVal = max(numList)
  workList = numList[:]
  workList.remove(maxVal)
  secondVal = max(workList)
  for num in numList:
    if num != maxVal:
      print(maxVal)
    else:
      print(secondVal)
      
if __name__ == '__main__':
    main()

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):
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):
r = map(int,input())
print(3*r**2)

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

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

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

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


Verdicts: Runtime Error

Runtime Error

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 * a * a)

r = int(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):
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):



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






# *-* coding=utf-8 *-*


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






# *-* coding=utf-8 *-*


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






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())
if n%(2*d+1)==0:
  print(int(n/(2*d+1)))
else:
  print(int(n/(2*d+1))+1)

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

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

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

r = int(input())

print(3*r*r)


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):
i = input()
N = int(i)
A = []
for x in range(N):
    j = input()
    A.append(int(j))

for x in range(N):
    #print(x)
    t = A[:x] + A[x+1:]
    print(max(t))


i = input()
r = int(i)

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):
import numpy as np
import math

N = int(input())
A = input().split(' ')

an = np.array(A, dtype=np.int64)

M = 0
b = []

for i in range(1,N):
   chk_num = int(N/(i))

   if(chk_num<2):
      continue

   ball = 0
   for j in range(1,chk_num):
      c = i * j
      ball += an[j]
   M += 1
   b.append((ball+1)%2)


print(M)
print(*b)


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):
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):
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):
N = int(input())

input_list = []
tmplist = []

for i in range(N):
  input_list.append(int(input()))

for i in input_list:
  tmplist = input_list[:]
  tmplist.remove(i)
  print(max(tmplist))

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(input()) for i in range(N)]
print("---")
for i, num in enumerate(A):
    AA = [x for j, x in enumerate(A) if i != j]
    print(max(AA))

N = int(input())
A = [int(input()) for i in range(N)]
for i, num in enumerate(A):
    AA = [x for j, x in enumerate(A) if i != j]
    print(max(AA))

print(int(input())**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):
a=input()
b=int(a)
print(b)
if b >= 0 and b <= 100:
  print(3*pow(b,2))


a=input()
b=int(a)

if b >= 0 and b <= 100:
  print(3*pow(b,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(3**r)

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):
r = int(input())
print(3*(r**3))

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):
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(int(3*input())**2)

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):
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):
N = int(input())

A = [int(input()) for _ in range(N)]
allA=[]

for i in range(N):
    remA=A.pop(i)
    allA.append(max(A))
    A.insert(i, remA)

for i in range(N):
    print(allA[i])


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

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):
print(3 * r ** 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):
n,d = input().split()
n = int(n)
d = int(d)
t = 2d + 1
     
if n % t == 0:
	ans = n/t
else:
	ans = n/t
    ans = ans + 1

print(ans)

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

r = input()
r = int(r)

ans = r * r * 3

print(ans)

Verdicts: Runtime Error

Runtime Error

Accepted