Problem:


Score : 100 points

Problem Statement

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.

Constraints

1 \leq r \leq 100

r is an integer.

Input

Input is given from Standard Input in the following format:

r

Output

Print an integer representing the area of the regular dodecagon.

Sample Input 1

4

Sample Output 1

48

The area of the regular dodecagon is 3 \times 4^2 = 48.

Sample Input 2

15

Sample Output 2

675

Sample Input 3

80

Sample Output 3

19200



Sample input:
4


Sample output:
48

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

r = INT()

print(3*(r**2))

Submission status: Accepted

Solution code:
import sys

r = int(sys.stdin.readline().rstrip())

def main():
    return 3*r**2

if __name__ == '__main__':
    ans = main()
    print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# https://atcoder.jp/contests/abc134/tasks/abc134_a

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

Submission status: Accepted

Solution code:
r =int(input())
sum = 3*(r**2)
'''000000000000000000000000000000000000000000000000000000000'''
print(sum)

Submission status: Accepted

Solution code:
r = int(input())
print((r ** 2) * 3)

Submission status: Accepted

Solution code:
h = int(input())
print(3*h**2)

Submission status: Accepted

Solution code:
r = int(input()) 
print(3*r*r)

Submission status: Accepted

Solution code:
usrInput = int(input())
print(usrInput * usrInput * 3)

Submission status: Accepted

Solution code:
n = int(input())
print(3 * (n * n))

Submission status: Accepted

Solution code:
a = int(input())

print( 3 * a * a )

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


def main():
    R = int(input())
    print(3 * R**2)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
N = int(input())

print(3 * N ** 2)

Submission status: Accepted

Solution code:
# import itertools
# import math

import sys
input = sys.stdin.readline


def solve(N):
    return 3 * N ** 2


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

# P = []
# S = []
# for i in range(N):
#     pp, ss = map(int, input().split())
#     P.append(pp)
#     S.append(ss)

print(solve(N))

Submission status: Accepted

Solution code:
r = int(input())
print(3*pow(r,2))

Submission status: Accepted

Solution code:
a = input()
a = int(a)
print(3*a**2)

Submission status: Accepted

Solution code:
r = int(input())
print( 3 * r ** 2)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10000000)
INF = 1<<32


def solve(r: int):
    print(3*r*r)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    r = int(next(tokens))  # type: int
    solve(r)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
R = int(input())
print(3*R*R)

Submission status: Accepted

Solution code:
r=int(input())
a = 3*(r**2)
print(a)

Submission status: Accepted

Solution code:
r = int(input())
print(r*r*3)

Submission status: Accepted

Solution code:
#134 a
r=int(input())
ans=3*(r**2)
print(ans)

Submission status: Accepted

Solution code:
import sys
row = sys.stdin.readline
def read_int(row):
    return int(row().rstrip())
  
r= read_int(row)
print(int( 3 * r**2 ))

Submission status: Accepted

Solution code:
r=int(input())
print (3*(r**2))

Submission status: Accepted

Solution code:
r = int(input())
print((r**2)*3)

Submission status: Accepted

Solution code:
r=int(input())

print(3*r**2)

Submission status: Accepted

Solution code:
A=int(input())
print((A**2)*3)

Submission status: Accepted

Solution code:
def main():
    r = int(input())


    print(3*r*r)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r=int(input())
print(3*pow(r,2))

Submission status: Accepted

Solution code:
a=int(input())
b=a**2*3
print(b)

Submission status: Accepted

Solution code:
def main():
    r = int(input())
    print(3*(r**2))
    

if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
r = int(input())

print( 3 * r**2 )

Submission status: Accepted

Solution code:
r = int(input())

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

Submission status: Accepted

Solution code:
r = int(input())

ans = 3 * (r ** 2)

print(ans)

Submission status: Accepted

Solution code:
r =int(input())
print(3*r*r)

Submission status: Accepted

Solution code:
r = int(input())

ans = 3*r**2

print(ans)

Submission status: Accepted

Solution code:
r=int(input())
S=3*r*r
print(S)

Submission status: Accepted

Solution code:
r = int(input())

print(3*r**2)

Submission status: Accepted

Solution code:
r = int(input())

print(3 * (r ** 2))

Submission status: Accepted

Solution code:
def main():
    a = int(input())
    print(3 * a * a)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r = int(input().strip())
print(3*r**2)

Submission status: Accepted

Solution code:
# coding: UTF-8

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

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    r=INT()
    print(3*r*r)
if __name__ == '__main__':
    do()

Submission status: Accepted

Solution code:
ans = 3 * int(input()) ** 2
print(ans)

Submission status: Accepted

Solution code:
r =  int(input())
print(3*r*r)

Submission status: Accepted

Solution code:
r = int(input())

print(3 * r * r)

Submission status: Accepted

Solution code:
A = int(input())
print(3 * (A ** 2))

Submission status: Accepted

Solution code:
def main():
    r = int(input())
    return 3 * (r ** 2)


if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
r = int(input())
print(str(r*r*3))

Submission status: Accepted

Solution code:
a = int(input())
print(a**2*3)

Submission status: Accepted

Solution code:
from sys import stdin

a = int(stdin.readline().rstrip())

print(a**2*3)

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

def main():
    print(3 * (int(input()) ** 2))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a = int(input())
print(str(3*a*a))

Submission status: Accepted

Solution code:
r = int(input())
print( 3 * r ** 2 )

Submission status: Accepted

Solution code:
r = int(input())

print(r * r * 3)

Submission status: Accepted

Solution code:
r = int(input())
A = 3*r**2
print(A)

Submission status: Accepted

Solution code:
print(str(int(input())**2*3))

Submission status: Accepted

Solution code:
r = int(input())
S = 3 * (r ** 2)
print(S)

Submission status: Accepted

Solution code:
N=int(input())
print(3*N**2)

Submission status: Accepted

Solution code:
r = int(input())
s = 3*r*r
print(s)

Submission status: Accepted

Solution code:
print(3 * int(input())**2)

Submission status: Accepted

Solution code:
r = int(input())
x = 3 * r * r
print(x)

Submission status: Accepted

Solution code:
r = int(input())
a = 3 * r ** 2
print(a)

Submission status: Accepted

Solution code:
def dodecagon(r: int)->int:
    return 3*(r**2)


if __name__ == "__main__":
    r = int(input())
    ans = dodecagon(r)
    print(ans)

Submission status: Accepted

Solution code:
n=int(input())
print(n**2*3)

Submission status: Accepted

Solution code:
n = int(input())

print(3*n*n)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Accepted

Solution code:
N = int(input())

print(3*N*N)

Submission status: Accepted

Solution code:
r = int(input())
result= 3 * r*r
print(result)

Submission status: Accepted

Solution code:
data = int(input())
print(data**2 * 3)

Submission status: Accepted

Solution code:
a=int(input())

print(3*(a**2))

Submission status: Accepted

Solution code:
print(3*int(input())**2 )

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, heapq, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math
import datetime

# 入力
#N = int(input())
#S = str(input())
#N, A, B = map(int, input().split())
r = int(input())

print (3*r*r)

Submission status: Accepted

Solution code:
n=int(input())
print (3*n*n)

Submission status: Accepted

Solution code:
r = int(input())
a = 3 * r**2
print(a)

Submission status: Accepted

Solution code:
r = int(input())
s = int(3*r**2)
print(s)

Submission status: Accepted

Solution code:
def main():
    r = int(input())

    print(3 * r**2)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r=int(input())
S=3*r**2
print(S)

Submission status: Accepted

Solution code:
print(int(input()) ** 2 * 3)

Submission status: Accepted

Solution code:
#Dodecagon
r = int(input())
print(3*r**2)

Submission status: Accepted

Solution code:
r=int(input())
asn=3*r**2
print(asn)

Submission status: Accepted

Solution code:
r=input()
ans= r**2*3
print ans

Submission status: Accepted

Solution code:
r=int(input())
s=3*r*r
print(s)

Submission status: Accepted

Solution code:
r = int(input())



print(3*r*r)

Submission status: Accepted

Solution code:
r = int(input())
a = r
s = 3*a*a
print(s)

Submission status: Accepted

Solution code:
def main():
    r = int(input())
    print(3 * r ** 2)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
r = int(input())
print(3*(r)**2)

Submission status: Accepted

Solution code:
r = int(input())

ans =  3 * r ** 2

print(ans)

Submission status: Accepted

Solution code:
r = int(input())

ans = 3*r**2

print(ans)

Submission status: Accepted

Solution code:
r = int(input())

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

Submission status: Accepted

Solution code:
r = input()
r = int(r)

ans = r * r * 3

print(ans)

Submission status: Accepted

Solution code:
r = int(input())

ans = r * r * 3

print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans=count=0

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans=count=0

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

Submission status: Accepted

Solution code:
# 2019-11-15 14:12:24(JST)
import sys
# import collections
# import math
# from string import ascii_lowercase, ascii_uppercase, digits
# from bisect import bisect_left as bi_l, bisect_right as bi_r
# import itertools
# from functools import reduce
# import operator as op
# from scipy.misc import comb # float
# import numpy as np 

def main():
    r = int(sys.stdin.readline().rstrip())
    ans = 3 * r ** 2
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from collections import defaultdict,deque, Counter
import sys,heapq,bisect,math,itertools,string,queue,copy,time
import numpy as np
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

n = inp()
print(3*n*n)

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 13,Nov,2019
"""

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def print_ans(r):
    """Test Case
    >>> print_ans(4)
    48
    >>> print_ans(15)
    675
    >>> print_ans(80)
    19200
    """
    print(3 * (r ** 2))

if __name__ == '__main__':
    r = int(input().rstrip())
    print_ans(r)

Submission status: Accepted

Solution code:
r= int(input());print(3*r*r)

Submission status: Accepted

Solution code:
r = int(input())

print( 3 * r ** 2 )

Submission status: Accepted

Solution code:
#%%
import sys
def input():
    return sys.stdin.readline().rstrip()

def main():
    r = int(input())

    print(3*r**2)

# %%
if __name__ == '__main__':
    main()

# %%
# from atcoder_test import doTest
# doTest("abc134","a",main)

Submission status: Accepted

Solution code:
r=int(input())
print(3*(r*r))

Submission status: Accepted

Solution code:
n = int(input())

print(3 * (n ** 2))

Submission status: Accepted

Solution code:

R =input ()

R =int(R)

print (3*R*R)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
input=lambda :sys.stdin.readline().rstrip()
def resolve():
    r=int(input())
    print(3*r*r)
resolve()

Submission status: Accepted

Solution code:
# ABC 134: A – Dodecagon
r = int(input())
print(3 * r * r)

Submission status: Accepted

Solution code:
a = int(input())

print(3*a**2)

Submission status: Accepted

Solution code:
r = int( input() )
print( 3* ( r**2 ) )

Submission status: Accepted

Solution code:
import unittest


class TestA(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think(4), 48)

    def test_2(self):
        self.assertEqual(think(15), 675)

    def test_3(self):
        self.assertEqual(think(80), 19200)


def solve():
    r = read()
    result = think(r)
    write(result)


def read():
    return read_int(1)[0]


def read_int(n):
    return list(map(lambda x: int(x), read_line().split(' ')))[:n]


def read_float(n):
    return list(map(lambda x: float(x), read_line().split(' ')))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(r):
    return 3 * r ** 2


def write(result):
    print(result)


if __name__ == '__main__':
    # unittest.main()
    solve()

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

r = int(input())

print(3*r**2)

Submission status: Accepted

Solution code:
r = int(input().strip())
print(3 * (r ** 2))

Submission status: Accepted

Solution code:
r = int(input())
print(r**2*3)

Submission status: Accepted

Solution code:
r = int(input())

S = 3 * r**2

print(S)

Submission status: Accepted

Solution code:
r = int(input())
ans = 3 * (r ** 2)
print(ans)

Submission status: Accepted

Solution code:
print( 3 * int(input()) ** 2 )

Submission status: Accepted

Solution code:
a = int(input())

s = 3*a*a

print(s)

Submission status: Accepted

Solution code:
r =int(input())
print(3 * r**2)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
r = int(input())
s = 3 * r ** 2
print(s)

Submission status: Accepted

Solution code:
r=int(input())
print(3 * r * r)

Submission status: Accepted

Solution code:
print( 3*int(input())**2 )

Submission status: Accepted

Solution code:
a = input()
a=int(a)
print(3*a*a)

Submission status: Accepted

Solution code:
r = input()
q =int(r)
s = q*q*3
print(s)

Submission status: Accepted

Solution code:
R = int(input())
answer = 0

answer = 3 * R ** 2
print(answer)

Submission status: Accepted

Solution code:
#134
a = int(input())
print(3*a**2)

Submission status: Accepted

Solution code:
r = int(input())

S = 3*r*r

print(S)

Submission status: Accepted

Solution code:
r = int(input())
ans = r * r
ans = 3 * ans
print(ans)

Submission status: Accepted

Solution code:
r = int(input())
menseki = 3 * (r ** 2)
print(menseki)

Submission status: Accepted

Solution code:
a=int(input())
print(3*a*a)

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

Submission status: Accepted

Solution code:
import math

def main(r):
    print(3 * r ** 2)

if __name__ == '__main__':
    r = int(input())
    main(r)

Submission status: Accepted

Solution code:
r = int(input())
s = 3 * r * r
print(s)

Submission status: Accepted

Solution code:
#1行目が整数の場合
r = int(input())
#問題分より
#半径 a の円に内接する正十二角形の面積は 3aの2乗
#入力値は半径r
#よって問題文をそのまま実装する
# a * b → a x b、a ** b→ aのb乗
print(3 * r ** 2)

Submission status: Accepted

Solution code:
r =int(input())
print(3* r**2)

Submission status: Accepted

Solution code:
r =int(input())

print(3*r**2)

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]

r = int(input())

print(3 * (r**2))

Submission status: Accepted

Solution code:
r = int(input())
print((r**2 )* 3)

Submission status: Accepted

Solution code:
N = int(input())
print(N * N * 3)

Submission status: Accepted

Solution code:
r = input()
print 3 * r * r

Submission status: Accepted

Solution code:
# 22:21
r = int(input())
print(3*r**2)

Submission status: Accepted

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

solve()

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    r = int(input().rstrip('\n'))
    print(3 * r ** 2)


if __name__ == '__main__':
    slove()

Submission status: Accepted

Solution code:
r = int(input())
menseki = 3* r**2
print(menseki)

Submission status: Accepted

Solution code:
def main():

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

if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
print(pow(int(input()), 2) * 3 )

Submission status: Accepted

Solution code:
input_ = int(input())

print(3 * input_ ** 2)

Submission status: Accepted

Solution code:
a = int(input())

S = 3 * a**2

print(S)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def main():
    r, = map(int, open(0).read().split())

    ans = 3 * r**2
    print(ans)
    return()

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
n = int(input())
s =3*n*n
print(s)

Submission status: Accepted

Solution code:
# *-* coding=utf-8 *-*


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

Submission status: Accepted

Solution code:
#134 Dodecagon
print(3*int(input())**2)

Submission status: Accepted

Solution code:
#134 Dodecagon
print(3*(int(input())**2))

Submission status: Accepted

Solution code:
r=int (input())
print(3*(r**2))

Submission status: Accepted

Solution code:
r = int(input())

print(3 * (r**2))

Submission status: Accepted

Solution code:
print(3 * pow(int(input()), 2))

Submission status: Accepted

Solution code:
a = int(input())

print( 3 * a ** 2)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


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


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    r = int(next(tokens))  # type: int
    solve(r)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
r=int(input());print(3*r**2)

Submission status: Accepted

Solution code:
r = int(input())

s = 3*r*r

print(s)

Submission status: Accepted

Solution code:
r = int(input())
ans = 3*(r**2)
print(int(ans))

Submission status: Accepted

Solution code:
r = int(input())

d = (r ** 2)*3

print(d)

Submission status: Accepted

Solution code:
r=int(input())
print(r*r*3)

Submission status: Accepted

Solution code:
r = int(input())
print (3 * r * r )

Submission status: Accepted

Solution code:
r = int(input())
print(3* r * r)

Submission status: Accepted

Solution code:
r = int(input())

result = 3 * r * r

print(result)

Submission status: Accepted

Solution code:
r = int(input())

print(3 * pow(r, 2))

Submission status: Accepted

Solution code:
#134a
print(3*int(input())**2)

Submission status: Accepted

Solution code:
n = int(input())
print(3* (n**2))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10 ** 7)


def solve(r: int):
    print(3 * r ** 2)
    return


# Generated by 1.1.5 https://github.com/kyuridenamida/atcoder-tools
# (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    r = int(next(tokens))  # type: int
    solve(r)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
print(3*int(input()
         )**2
     )

Submission status: Accepted

Solution code:
a = int(input())
print(3*(a*a))

Submission status: Accepted

Solution code:
r=int(input())
print((r**2)*3)

Submission status: Accepted

Solution code:
r = int(input())

print(str(3*r**2))

Submission status: Accepted

Solution code:
print(int(input()) **2 * 3)

Submission status: Accepted

Solution code:
N = int(input())

print(3 * (N ** 2))

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
r = int(input())
print( 3 * r * r)

Submission status: Accepted

Solution code:
def main():
    r = int(input())
    print(3*(r**2))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
r = int(input())
print(int(3 * (r ** 2)))

Submission status: Accepted

Solution code:
# -*- coding:utf8 -*-

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

Submission status: Accepted

Solution code:
def main(): 

    r = int(input())

    print(3 * r ** 2)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
r=int(input())

S=3*r*r

print(S)

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
n=int(input())

s=3*(n**2)

print(s)

Submission status: Accepted

Solution code:
r=int(input())
answer=3*r**2
print(answer)

Submission status: Accepted

Solution code:
n = int(input())
print(3 * n**2)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r = int(input())
result = 3*r*r
print(result)

Submission status: Accepted

Solution code:
r = raw_input()
area = 3 * int(r) * int(r)
print area

Submission status: Accepted

Solution code:
r=int(input())
m=3*r*r
print(m)

Submission status: Accepted

Solution code:
while True:
    try:
        r = int(input())
        print(3* r**2)
    except:
        break

Submission status: Accepted

Solution code:
x= int(input())
print(3*x**2)

Submission status: Accepted

Solution code:
a = int(input())
b = 3 * (a ** 2)
print(b)

Submission status: Accepted

Solution code:
#Coding:Utf-8

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

Submission status: Accepted

Solution code:
def main():
    r = int(input())

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from sys import stdin

r = int(stdin.readline().rstrip())
print(3*r*r)

Submission status: Accepted

Solution code:
r = int(input())
print(3* (r ** 2))

Submission status: Accepted

Solution code:
r = int(input())
print(3*r*r)

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    r = int(input())
    print(3 * r ** 2)

Submission status: Accepted

Solution code:
a = int(input())
print(3 * (a**2))

Submission status: Accepted

Solution code:
print(3 * (int(input())**2))

Submission status: Accepted

Solution code:
r = int(input())
print((3*r*r))

Submission status: Accepted

Solution code:
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


# 初項s, 交差dのn個の数列の和
def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


# aとbの最大公約数
def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


# aとbの最小公倍数
def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-                                                                              

r = int(input())

print(3 * r ** 2)

Submission status: Accepted

Solution code:
a = int(input())
s = 3 * a **2
print(s)

Submission status: Accepted

Solution code:
r = int(input())
area = 3 * r ** 2
print(area)

Submission status: Accepted

Solution code:
a = int(input())

print(3*a*a)

Submission status: Accepted

Solution code:
print(int(input()) **2 *3)

Submission status: Accepted

Solution code:
n = int(input())
print(n**2*3)

Submission status: Accepted

Solution code:
r = int(input())
print( 3 * r**2 )

Submission status: Accepted

Solution code:
a = int(input())

ans = 3*a*a
print(ans)

Submission status: Accepted

Solution code:
r = int(input())
ans = r**2*3
print(ans)

Submission status: Accepted

Solution code:
r=input()
r=int(r)
print(3*r**2)

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

r = ni()
print(3 * r * r)

Submission status: Accepted

Solution code:
from sys import stdin

n = int(stdin.readline().rstrip())
print(3*n**2)

Submission status: Accepted

Solution code:
print(3*(int(input().strip())**2))

Submission status: Accepted

Solution code:
r = int(float(input()))
result = 3*r*r
print(result)

Submission status: Accepted

Solution code:

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

print(ans)

Submission status: Accepted

Solution code:
print(3 * int(input()) ** 2)

Submission status: Accepted

Solution code:
r = input()
t = int(r)
a = 3*t*t
print(a)

Submission status: Accepted

Solution code:
# -*- coding: UTF-8 -*-

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
r=int(input())
print(3*r*r)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r = int(input())
print(3 * r * r)

Submission status: Accepted

Solution code:
# coding: utf-8
r = int(input())
print(3*r*r)

Submission status: Accepted

Solution code:
r=int(input())
print(int(3*r**2))

Submission status: Accepted

Solution code:
def solve():
    print(3 * pow(int(input()), 2))


if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
print((int(input()) ** 2) * 3)

Submission status: Accepted

Solution code:
r = int(input())
result = 3*r**2
print(result)

Submission status: Accepted

Solution code:
r = int(input())
ans = 0

ans = 3*r*r

print(ans)

Submission status: Accepted

Solution code:
print(*map(lambda x: 3 * x ** 2, [int(input())]))

Submission status: Accepted

Solution code:
r = int(input())
if 1 <= r <= 100:
    print(3 * r * r)
else:
    print('Invalid value')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

Submission status: Accepted

Solution code:
N = int(input()) #半径
menseki = 3 * N * N 
print(menseki)

Submission status: Accepted

Solution code:
#AtCoder Beginner Contest 134 A問題
N=int(input())
ans=3*N**2
print(ans)

Submission status: Accepted

Solution code:
n=int(input()); print(3*(n**2))

Submission status: Accepted

Solution code:
print (int(input()) ** 2 * 3)

Submission status: Accepted

Solution code:
# your code goes here
x = int(input())
y  = 3*x*x
print (y)

Submission status: Accepted

Solution code:
import sys
import numpy as np

def input():
	return sys.stdin.readline().rstrip()
def main():
	r = int(input())
	print(3 * r * r)
if __name__ == '__main__':
	main()

Submission status: Accepted

Solution code:
def area(x):
    answer=3*(x**2)
    return answer
a=int(input())
print(area(a))

Submission status: Accepted

Solution code:
a=int(input())
k=3 * a ** 2
print(k)

Submission status: Accepted

Solution code:
import glob


# 問題ごとのディレクトリのトップからの相対パス
REL_PATH = 'ABC\\134\\A'

# テスト用ファイル置き場のトップ
TOP_PATH = 'C:\\AtCoder'


class Common:
    problem = []
    index = 0

    def __init__(self, rel_path):
        self.rel_path = rel_path

    def initialize(self, path):
        file = open(path)
        self.problem = file.readlines()
        self.index = 0
        return

    def input_data(self):
        try:
            IS_TEST
            self.index += 1
            return self.problem[self.index - 1]

        except NameError:
            return input()

    def resolve(self):
        pass

    def exec_resolve(self):
        try:
            IS_TEST
            for path in glob.glob(TOP_PATH + '\\' + self.rel_path + '/*.txt'):
                print("Test: " + path)
                self.initialize(path)
                self.resolve()
                print("\n\n")
        except NameError:
            self.resolve()


class A(Common):

    def resolve(self):

        r = int(self.input_data())
        print(str(3*r*r))


solver = A(REL_PATH)
solver.exec_resolve()

Submission status: Accepted

Solution code:
r = int(input())
print(int(3*r*r))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

r = int(input())

# print(r)

print(3 * (r ** 2))

Submission status: Accepted

Solution code:
print(3* int(input())**2)