結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー qazqaz
提出日時 2017-05-28 16:03:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 1,084 ms
コンパイル使用メモリ 11,712 KB
実行使用メモリ 9,892 KB
最終ジャッジ日時 2023-10-21 13:54:20
合計ジャッジ時間 1,911 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
9,892 KB
testcase_01 AC 25 ms
9,892 KB
testcase_02 AC 24 ms
9,892 KB
testcase_03 WA -
testcase_04 AC 23 ms
9,892 KB
testcase_05 AC 24 ms
9,892 KB
testcase_06 WA -
testcase_07 AC 23 ms
9,892 KB
testcase_08 WA -
testcase_09 AC 23 ms
9,892 KB
testcase_10 AC 23 ms
9,892 KB
testcase_11 AC 28 ms
9,892 KB
testcase_12 WA -
testcase_13 AC 24 ms
9,892 KB
testcase_14 AC 23 ms
9,892 KB
testcase_15 AC 23 ms
9,892 KB
testcase_16 AC 24 ms
9,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input()
B = input()

def isNum(s):
    if s.isdigit() == False:
        return False
    if s[0:1] == '0':
        return False
    return True

if isNum(A) and isNum(B):
    print("OK")
else:
    print("NG")
0