結果

問題 No.446 ゆきこーだーの雨と雪 (1)
コンテスト
ユーザー nebukuro09
提出日時 2016-11-18 22:26:45
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 77,604 KB
最終ジャッジ日時 2025-12-03 22:46:37
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

ok = lambda s: s.isdigit() and len(s) == len(str(int(s))) and 0 <= int(s) <= 12345
print 'OK' if ok(raw_input()) and ok(raw_input()) else 'NG'
0