Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 24, 2021 14:36Dmitry DolgopolovDmitry DolgopolovScore: 5,178Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:365,15332,685,22615,459,0001,030,0002,396,160
2May 24, 2021 14:365,15744,141,17116,503,00002,383,872
3May 24, 2021 14:365,16840,705,13515,504,0001,033,0002,396,160
4May 24, 2021 14:365,17038,440,74316,543,00002,265,088
5May 24, 2021 14:365,17034,751,69516,545,00002,265,088
6May 24, 2021 14:365,17639,358,26915,529,0001,035,0002,387,968
7May 24, 2021 14:365,17834,735,12115,533,0001,035,0002,392,064
8May 24, 2021 14:365,21143,553,28716,676,00002,265,088
9May 24, 2021 14:365,21242,004,87716,677,00002,265,088
10May 24, 2021 14:365,37787,942,19117,206,39402,289,664
11May 24, 2021 14:365,39161,259,37517,250,33102,277,376
12May 24, 2021 14:365,44381,794,84817,418,41202,281,472