結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,864 KB
testcase_01 AC 16 ms
7,792 KB
testcase_02 RE -
testcase_03 WA -
testcase_04 AC 16 ms
7,868 KB
testcase_05 RE -
testcase_06 AC 16 ms
7,900 KB
testcase_07 WA -
testcase_08 AC 15 ms
7,832 KB
testcase_09 AC 16 ms
7,992 KB
testcase_10 AC 16 ms
7,860 KB
testcase_11 RE -
testcase_12 WA -
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(get+get1)
elif((get == 0 or get1 == 0 and (flag == 0))):
    print(get+get1)
else:
    print("NG")
0