結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー ABKZABKZ
提出日時 2023-09-08 21:10:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 269 bytes
コンパイル時間 460 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-06-26 13:56:50
合計ジャッジ時間 2,251 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input()
B = input()

if A.isdecimal() and B.isdecimal():
    if A == str(int(A)) and B == str(int(B)):
        if int(A) <= 12345 and int(B) <= 12345:
            print('OK')
        else:
            print('NG')
    else:
        print('NG')
else:
    print('NG')
0