結果
| 問題 | No.446 ゆきこーだーの雨と雪 (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-01-12 15:45:11 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 13,312 KB |
| 最終ジャッジ日時 | 2026-10-06 21:30:56 |
| 合計ジャッジ時間 | 1,691 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")