結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー rin204
提出日時 2021-08-29 15:52:40
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 225 bytes
コンパイル時間 458 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 64,640 KB
最終ジャッジ日時 2024-11-22 06:03:44
合計ジャッジ時間 2,578 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 RE * 3
other AC * 3 RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

a = input()
b = input()

for x in (a, b):
    if not x.isdigit():
        print("NG")
        exit()
    if str(int(x)) != x:
        print("NG")
        exit()
    if x > 12345:
        print("NG")
        exit()
print("OK")
0