?????????????????????A??B?????佻??

????????????A??B?????佻????

1. ???????????A?е???????????????????????map?У??????????????1??

2. ???????????B?е??????????????????map?в?????1???????????????????У???????map?е???????2??

???????map?е???????????????????????Ρ?

????????????1??10w????г????????????

??1??10w??10w?????????2???????????????????????????

????10w??bit???????bit????????????????????

????????10w??bit????????0????????????????г??????

??????ζ????????????????????????????bit???1??

??????????????????????0??bit?ó???г?????????

???????1??10w??????????

??????????????????????

???ε??????????????????????????????????????

??????????

x + y = n

x^2 + y^2 = m

?????????x??y?????

?????????????????С?????????24С?????????

??1000?????????????ж???С?????????????????24С????????????????????С?????????24С????????????ж???

????????????1000?С?????????????????????????

?????С??????????????????????С???????????????ú????????

???????????????????????x?С???????24С?????????????????????ж????

??????С????????????????????????????x?С??????????2^x???????????????????????????ж????????????2^x????????ж???????????????????????????????

????С??????1??2^(x-1)???????С??????1????2^(x-2)???2^(x-1)+1????2^(x-1) + 2^(x-2)?....????????

??????????1000?????????????10?С????

??????????????????????д??????????????????

????????????????????????????????????????? ??????????????????????λ?????????????????????????????0??1??2??3??4??5??6??7??8??9??

??????????ж?????????????40??????У?

??40??????????unsigned int????????????????????????????????ο????ж??????????????40??????????

????

unsigned int ??????Χ??0??2^32-1???????????????????2^32/8=512M????棬??????bit??????unsigned int??????????512M??涼??????0????????????????????????bit?????1??????????????????????bit?????????0????1???ɡ?