結果

問題 No.1472 作為の和
ユーザー 👑 KazunKazun
提出日時 2021-04-09 22:09:23
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 444 ms
コンパイル使用メモリ 86,936 KB
実行使用メモリ 71,352 KB
最終ジャッジ日時 2023-09-07 11:32:50
合計ジャッジ時間 1,962 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,192 KB
testcase_01 AC 74 ms
71,260 KB
testcase_02 AC 77 ms
71,180 KB
testcase_03 AC 73 ms
71,064 KB
testcase_04 AC 73 ms
71,120 KB
testcase_05 AC 73 ms
70,816 KB
testcase_06 AC 74 ms
71,216 KB
testcase_07 AC 73 ms
71,352 KB
testcase_08 AC 73 ms
71,256 KB
testcase_09 AC 77 ms
71,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())

if N==0:
    print(9,1)
else:
    d=2*N+1
    print(9*d-1,1)
0