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