Notice: file_put_contents(): Write of 7679 bytes failed with errno=28 No space left on device in /var/www/tg-me/post.php on line 50
codedump的电报频道 | Telegram Webview: codedump_notes/591 -
Telegram Group & Telegram Channel
#算法
校验信用卡号码用到的Luhn 算法,我试了一下中国的信用卡用的也是算法。
图片里的第二步“add the digits of the product(e.g. 1+6=7)”,也可以这么做:如果第一步得到的数大于9,说明是一个二位数,这时候需要减去9重新变成一位数。



tg-me.com/codedump_notes/591
Create:
Last Update:

#算法
校验信用卡号码用到的Luhn 算法,我试了一下中国的信用卡用的也是算法。
图片里的第二步“add the digits of the product(e.g. 1+6=7)”,也可以这么做:如果第一步得到的数大于9,说明是一个二位数,这时候需要减去9重新变成一位数。

BY codedump的电报频道




Share with your friend now:
tg-me.com/codedump_notes/591

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Telegram Gives Up On Crypto Blockchain Project

Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”

The STAR Market, as is implied by the name, is heavily geared toward smaller innovative tech companies, in particular those engaged in strategically important fields, such as biopharmaceuticals, 5G technology, semiconductors, and new energy. The STAR Market currently has 340 listed securities. The STAR Market is seen as important for China’s high-tech and emerging industries, providing a space for smaller companies to raise capital in China. This is especially significant for technology companies that may be viewed with suspicion on overseas stock exchanges.

telegram from sa


Telegram codedump的电报频道
FROM USA