結果

問題 No.542 1円玉と5円玉
ユーザー NiER_Replicant6NiER_Replicant6
提出日時 2017-12-19 14:31:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 8,380 KB
最終ジャッジ日時 2023-08-22 19:31:46
合計ジャッジ時間 947 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,912 KB
testcase_01 AC 16 ms
7,812 KB
testcase_02 WA -
testcase_03 AC 14 ms
7,944 KB
testcase_04 AC 14 ms
7,976 KB
testcase_05 AC 15 ms
7,848 KB
testcase_06 AC 14 ms
7,860 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 14 ms
7,784 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
p = 0
for i in range(B):

    for i in range(A):
        a = i+1+p
        print(a)
    p = p+5
    print(p)
for i in range(A):
    a = i+1+p
    print(a)
0