結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー tamatotamato
提出日時 2020-06-04 12:20:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 330 bytes
コンパイル時間 1,146 ms
コンパイル使用メモリ 87,556 KB
実行使用メモリ 76,336 KB
最終ジャッジ日時 2023-08-19 02:02:55
合計ジャッジ時間 4,001 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
76,248 KB
testcase_01 AC 72 ms
75,976 KB
testcase_02 AC 68 ms
76,064 KB
testcase_03 AC 74 ms
75,992 KB
testcase_04 AC 74 ms
76,112 KB
testcase_05 AC 74 ms
76,108 KB
testcase_06 AC 72 ms
76,096 KB
testcase_07 AC 72 ms
76,044 KB
testcase_08 AC 73 ms
76,112 KB
testcase_09 AC 71 ms
76,232 KB
testcase_10 AC 73 ms
76,024 KB
testcase_11 AC 74 ms
76,048 KB
testcase_12 AC 71 ms
76,336 KB
testcase_13 AC 77 ms
76,156 KB
testcase_14 AC 76 ms
75,844 KB
testcase_15 AC 75 ms
76,116 KB
testcase_16 AC 74 ms
76,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    A = input().rstrip('\n')
    B = input().rstrip('\n')

    L = set()
    for i in range(12346):
        L.add(str(i))

    if A in L and B in L:
        print("OK")
    else:
        print("NG")


if __name__ == '__main__':
    main()
0