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 17, 2021 19:54Yuriy LyfenkoYuriy LyfenkoScore: 5,357Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:545,3372,864,796,30016,073,0001,004,0002,527,232
2May 17, 2021 19:545,3382,763,835,56216,079,0001,004,0002,260,992
3May 17, 2021 19:545,3432,200,575,92016,147,000949,0002,265,088
4May 17, 2021 19:545,3471,714,046,69117,110,00002,523,136
5May 17, 2021 19:545,3492,098,646,24113,313,0003,803,0002,260,992
6May 17, 2021 19:545,3562,716,607,31214,115,0003,024,0002,527,232
7May 17, 2021 19:545,3571,973,142,91216,191,000952,0002,265,088
8May 17, 2021 19:545,3601,957,126,89617,152,00002,269,184
9May 17, 2021 19:545,3631,401,995,90617,160,00002,265,088
10May 17, 2021 19:545,535320,722,98817,712,99502,273,280
11May 17, 2021 19:545,5452,785,197,55417,743,27502,273,280
12May 17, 2021 19:545,5582,219,826,36917,784,63002,281,472