結果

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

ソースコード

diff #

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

for a in A:
    if set(list(a)) - set(list("0123456789")) == set() and str(int(a)) == a:
        continue
    else:
        ans = False
print("OK" if ans else "NG")
0