結果
問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
ユーザー |
|
提出日時 | 2017-02-15 00:49:11 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 399 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-29 22:48:36 |
合計ジャッジ時間 | 1,494 ms |
ジャッジサーバー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'