結果
| 問題 | No.446 ゆきこーだーの雨と雪 (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-02-15 00:56:42 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 83 ms / 2,000 ms |
| コード長 | 224 bytes |
| 記録 | |
| コンパイル時間 | 130 ms |
| コンパイル使用メモリ | 77,240 KB |
| 最終ジャッジ日時 | 2025-12-03 23:05:57 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 13 |
ソースコード
u=lambda:map(lambda t:ord(t)-0x30,raw_input().strip());v=lambda x:int(''.join(map(str,x)));a=u();b=u();print(all([0<=x<=9 for x in a+b])&((len(a)<2 or a[0]!=0)&(len(b)<2 or b[0]!=0))&(v(a)<12346 and v(b)<12346))and'OK'or'NG'