結果

問題 No.637 X: Yet Another FizzBuzz Problem
ユーザー 夕叢霧香(ゆうむらきりか)夕叢霧香(ゆうむらきりか)
提出日時 2018-01-26 22:58:17
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 154 bytes
コンパイル時間 1,145 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 71,488 KB
最終ジャッジ日時 2023-09-11 04:19:44
合計ジャッジ時間 4,662 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,268 KB
testcase_01 AC 74 ms
70,952 KB
testcase_02 AC 74 ms
71,380 KB
testcase_03 AC 75 ms
71,296 KB
testcase_04 AC 75 ms
71,412 KB
testcase_05 AC 74 ms
71,488 KB
testcase_06 AC 75 ms
71,184 KB
testcase_07 AC 74 ms
71,292 KB
testcase_08 AC 75 ms
71,372 KB
testcase_09 AC 74 ms
71,228 KB
testcase_10 AC 76 ms
71,124 KB
testcase_11 AC 78 ms
70,952 KB
testcase_12 AC 75 ms
71,340 KB
testcase_13 AC 73 ms
71,324 KB
testcase_14 AC 74 ms
71,292 KB
testcase_15 AC 77 ms
71,260 KB
testcase_16 AC 75 ms
71,432 KB
testcase_17 AC 77 ms
71,260 KB
testcase_18 AC 75 ms
71,284 KB
testcase_19 AC 77 ms
71,356 KB
testcase_20 AC 76 ms
71,304 KB
testcase_21 AC 75 ms
71,248 KB
testcase_22 AC 74 ms
71,084 KB
testcase_23 AC 75 ms
71,376 KB
testcase_24 AC 74 ms
71,488 KB
testcase_25 AC 73 ms
71,432 KB
testcase_26 AC 74 ms
71,212 KB
testcase_27 AC 75 ms
71,244 KB
testcase_28 AC 73 ms
71,272 KB
testcase_29 AC 75 ms
71,180 KB
testcase_30 AC 74 ms
71,436 KB
testcase_31 AC 73 ms
71,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=map(int,input().split())
c=0
for v in a:
    if v%15==0:
        c+=8
    elif v%3==0 or v%5==0:
        c+=4
    else:
        c+=len(str(v))
print(c)
0