結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー NyanmaruP78NyanmaruP78
提出日時 2017-02-19 16:48:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 333 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 7,952 KB
最終ジャッジ日時 2023-08-28 19:14:51
合計ジャッジ時間 1,092 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,856 KB
testcase_01 AC 15 ms
7,928 KB
testcase_02 RE -
testcase_03 AC 15 ms
7,952 KB
testcase_04 AC 15 ms
7,848 KB
testcase_05 RE -
testcase_06 AC 14 ms
7,800 KB
testcase_07 WA -
testcase_08 AC 14 ms
7,836 KB
testcase_09 AC 15 ms
7,848 KB
testcase_10 AC 15 ms
7,812 KB
testcase_11 RE -
testcase_12 AC 14 ms
7,836 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

flag = 0
try:
    get = input()
    get1 = input()
    bool1 = get1[0:1]
    bool0 = get[0:1]
    get = int(get)
    get1 = int(get1)
except:
    flag = 1

if((get == int(bool0) and get1 == int(bool1)) and flag == 0):
    print("OK")
elif((get == 0 or get1 == 0 and (flag == 0))):
    print("OK")
else:
    print("NG")
0