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 listOct 30, 2023 18:57goon-goon-Score: 5,577Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 18:575,51539,843,73616,609,0001,038,0002,387,968
2Oct 30, 2023 18:575,52242,168,56717,669,00002,265,088
3Oct 30, 2023 18:575,52646,755,86717,683,00002,527,232
4Oct 30, 2023 18:575,52652,027,82817,683,00002,392,064
5Oct 30, 2023 18:575,54042,689,01616,685,0001,042,0002,387,968
6Oct 30, 2023 18:575,54643,228,39916,704,0001,044,0002,387,968
7Oct 30, 2023 18:575,57745,234,61116,854,000991,0002,265,088
8Oct 30, 2023 18:575,58252,695,11416,870,000992,0002,387,968
9Oct 30, 2023 18:575,58344,740,37616,875,000992,0002,265,088
10Oct 30, 2023 18:575,72887,168,21118,329,08002,281,472
11Oct 30, 2023 18:575,76783,170,53918,455,21002,285,568
12Oct 30, 2023 18:575,79560,148,00218,544,52602,273,280