結果
| 問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
| ユーザー |
|
| 提出日時 | 2018-01-12 15:34:04 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 257 bytes |
| コンパイル時間 | 272 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-24 00:19:52 |
| 合計ジャッジ時間 | 1,445 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 9 WA * 4 |
ソースコード
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)
if b_i<a_i:
print("OK")
else:
print("NG")
else:
print("NG")