結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー ohana
提出日時 2023-10-13 16:16:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 82,104 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-09-15 12:16:15
合計ジャッジ時間 1,644 ms
ジャッジサーバーID
(参考情報)
judge6 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 8 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

A = []
A.append(input())
A.append(input())
ans = True

for a in A:
    if set(a) - set(range(10)) == {} and str(int(a)) == a:
        continue
    else:
        ans = False
print("OK" if ans else "NG")
0