結果
| 問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-02-15 00:56:42 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 13 ms / 2,000 ms |
| コード長 | 224 bytes |
| コンパイル時間 | 210 ms |
| コンパイル使用メモリ | 6,948 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2024-12-29 22:48:42 |
| 合計ジャッジ時間 | 1,457 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / 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'