結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー kokoa1046
提出日時 2017-10-17 23:23:41
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-18 07:50:01
合計ジャッジ時間 1,147 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
a = input()
b = input()
result = 'NG'
if a.isdigit() and b.isdigit():
    if  (a == str(int(a)) and 0 <= int(a) <= 12345) and( b == str(int(b)) and 0 <= int(b) <= 12345):
        result = 'OK'
    
    
    
print(result)
0