結果
| 問題 | No.446 ゆきこーだーの雨と雪 (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-11-20 09:52:17 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 78 ms / 2,000 ms |
| コード長 | 228 bytes |
| コンパイル時間 | 140 ms |
| コンパイル使用メモリ | 77,624 KB |
| 最終ジャッジ日時 | 2025-12-03 22:48:24 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 13 |
ソースコード
#yuki_446 def f(s): if len(s)>1 and s[0]=='0': return False if s.isdigit()==False: return False if int(s)>12345: return False return True a=raw_input() b=raw_input() if f(a) and f(b): print 'OK' else: print 'NG'