結果
問題 | No.446 ゆきこーだーの雨と雪 (1) |
ユーザー | tarotaro789 |
提出日時 | 2017-04-01 20:51:18 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 10,496 KB |
実行使用メモリ | 8,184 KB |
最終ジャッジ日時 | 2023-09-22 02:13:29 |
合計ジャッジ時間 | 1,423 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
8,084 KB |
testcase_01 | AC | 14 ms
7,936 KB |
testcase_02 | AC | 14 ms
7,996 KB |
testcase_03 | AC | 14 ms
7,816 KB |
testcase_04 | AC | 14 ms
7,976 KB |
testcase_05 | AC | 15 ms
7,936 KB |
testcase_06 | AC | 15 ms
8,152 KB |
testcase_07 | AC | 15 ms
8,028 KB |
testcase_08 | AC | 14 ms
8,092 KB |
testcase_09 | AC | 15 ms
7,992 KB |
testcase_10 | AC | 14 ms
7,932 KB |
testcase_11 | AC | 15 ms
8,032 KB |
testcase_12 | AC | 15 ms
7,772 KB |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
ソースコード
import sys a=input() b=input() if a.isnumeric()==False or b.isnumeric()==False: print("NG") sys.exit() if a!="0": if a[0]=="0": print("NG") sys.exit() if b!="0": if b[0]=="0": print("NG") sys.exit() if int(a)>0 or int(b)>12345: print("NG") sys.exit() print("OK")