結果

問題 No.1915 Addition
ユーザー 👑 KazunKazun
提出日時 2022-04-29 21:28:39
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 859 ms
コンパイル使用メモリ 86,792 KB
実行使用メモリ 71,528 KB
最終ジャッジ日時 2023-09-11 12:20:02
合計ジャッジ時間 3,321 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,516 KB
testcase_01 AC 75 ms
71,324 KB
testcase_02 AC 73 ms
71,236 KB
testcase_03 AC 73 ms
71,300 KB
testcase_04 AC 73 ms
71,316 KB
testcase_05 AC 73 ms
71,296 KB
testcase_06 AC 73 ms
71,360 KB
testcase_07 AC 74 ms
71,428 KB
testcase_08 AC 72 ms
71,528 KB
testcase_09 AC 74 ms
71,236 KB
testcase_10 AC 75 ms
71,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T=int(input())

Ans=[0]*T

for t in range(T):
    N=int(input())
    if N%2:
        Ans[t]=2*N
    else:
        Ans[t]=N//2

print(*Ans,sep="\n")
0