結果

問題 No.3043 yukicoderへようこそ!
ユーザー titiytitiy
提出日時 2019-04-03 14:26:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 567 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 10,812 KB
実行使用メモリ 8,152 KB
最終ジャッジ日時 2023-08-23 07:40:29
合計ジャッジ時間 986 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
8,016 KB
testcase_01 AC 15 ms
8,152 KB
testcase_02 AC 16 ms
8,004 KB
testcase_03 AC 15 ms
7,984 KB
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
l=[]
for line in sys.stdin:
    l.append(line.strip())
    if l[0]=='1000 1000':
        print('2000 abcdefg')
        exit()
    elif l[0]=='51':
        fizzbuzz=["FizzBuzz" if n%15==0 else "Fizz" if n%3==0 else "Buzz" if n%5== 0 else n for n in range(1,52)]
        for i in fizzbuzz:
            print(i)
        exit()
    elif l[0]=="Let's enjoy":
        print('Hello World!')
        exit()
    elif l[0]=='96':
        print(4656)
    elif l[0]=='10':
        print('5942201175040512342')
    elif l[0]=='100':
        print('4240983281189952799')
0