結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー ohanaohana
提出日時 2023-10-13 16:16:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-10-13 16:16:50
合計ジャッジ時間 2,527 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,296 KB
testcase_01 AC 72 ms
71,292 KB
testcase_02 AC 71 ms
71,220 KB
testcase_03 WA -
testcase_04 AC 71 ms
71,220 KB
testcase_05 AC 71 ms
71,468 KB
testcase_06 AC 70 ms
71,292 KB
testcase_07 AC 70 ms
71,316 KB
testcase_08 AC 72 ms
71,072 KB
testcase_09 AC 71 ms
71,488 KB
testcase_10 AC 74 ms
71,352 KB
testcase_11 AC 71 ms
71,264 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

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