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 23, 2021 19:48Yuriy LyfenkoYuriy LyfenkoScore: 5,192Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:485,14532,179,22315,436,0001,029,0002,265,088
2May 23, 2021 19:485,15132,677,93316,482,00002,392,064
3May 23, 2021 19:485,15541,970,25916,495,00002,387,968
4May 23, 2021 19:485,16437,482,63015,492,0001,032,0002,265,088
5May 23, 2021 19:485,16637,900,06916,530,00002,396,160
6May 23, 2021 19:485,16835,335,14215,504,0001,033,0002,269,184
7May 23, 2021 19:485,19246,946,74916,613,00002,383,872
8May 23, 2021 19:485,19237,411,85116,615,00002,387,968
9May 23, 2021 19:485,19345,191,92815,578,0001,038,0002,396,160
10May 23, 2021 19:485,40555,693,70417,296,84502,281,472
11May 23, 2021 19:485,44591,156,17517,423,41202,277,376
12May 23, 2021 19:485,45279,763,37917,447,97202,277,376