結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー ​
提出日時 2017-02-15 00:49:11
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 6,732 KB
実行使用メモリ 6,076 KB
最終ジャッジ日時 2023-08-28 17:05:44
合計ジャッジ時間 1,463 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,804 KB
testcase_01 AC 11 ms
5,924 KB
testcase_02 AC 12 ms
5,840 KB
testcase_03 AC 12 ms
5,896 KB
testcase_04 AC 11 ms
5,844 KB
testcase_05 AC 11 ms
5,928 KB
testcase_06 AC 12 ms
5,952 KB
testcase_07 AC 11 ms
5,808 KB
testcase_08 AC 11 ms
5,812 KB
testcase_09 WA -
testcase_10 AC 12 ms
5,976 KB
testcase_11 AC 11 ms
5,872 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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'
0