結果
問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
ユーザー |
|
提出日時 | 2018-01-12 15:28:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-24 00:19:47 |
合計ジャッジ時間 | 1,613 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 6 WA * 7 |
ソースコード
a=input() b=input() if 2<=len(a) and a[0]=="0": print("NG") elif 2<=len(b) and b[0]=="0": print("NG") elif a.isdigit() and b.isdigit(): a_i=int(a) b_i=int(b) print(a_i+b_i) else: print("NG")