結果
問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
ユーザー |
|
提出日時 | 2018-01-12 15:45:11 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-24 00:20:47 |
合計ジャッジ時間 | 1,518 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 RE * 2 |
other | AC * 7 WA * 2 RE * 4 |
ソースコード
a=input() b=input() c=int(a) d=int(b) if 12345<c or 12345<d: print("NG") elif 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(): print("OK") else: print("NG")