提出 #14739924


ソースコード 拡げる

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

提出情報

提出日時
問題 A - Calc
ユーザ maspy
言語 Python (3.8.2)
得点 100
コード長 169 Byte
結果 AC
実行時間 30 ms
メモリ 9016 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 10
セット名 テストケース
Sample a01.txt, a02.txt
All a01.txt, a02.txt, b03.txt, b04.txt, b05.txt, b06.txt, b07.txt, b08.txt, b09.txt, b10.txt
ケース名 結果 実行時間 メモリ
a01.txt AC 28 ms 8852 KiB
a02.txt AC 21 ms 8984 KiB
b03.txt AC 26 ms 8860 KiB
b04.txt AC 30 ms 8848 KiB
b05.txt AC 20 ms 8824 KiB
b06.txt AC 26 ms 9016 KiB
b07.txt AC 28 ms 8864 KiB
b08.txt AC 23 ms 9012 KiB
b09.txt AC 23 ms 8964 KiB
b10.txt AC 22 ms 8968 KiB