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 29, 2023 06:26goon-goon-Score: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2023 06:265,51240,575,88717,638,00002,392,064
2Oct 29, 2023 06:265,51546,184,29516,610,0001,038,0002,265,088
3Oct 29, 2023 06:265,52643,983,56316,643,0001,040,0002,265,088
4Oct 29, 2023 06:265,53146,810,47917,698,00002,392,064
5Oct 29, 2023 06:265,53345,555,37216,666,0001,041,0002,265,088
6Oct 29, 2023 06:265,55340,634,74817,769,00002,265,088
7Oct 29, 2023 06:265,58343,638,41416,874,000992,0002,387,968
8Oct 29, 2023 06:265,58442,218,67316,878,000992,0002,265,088
9Oct 29, 2023 06:265,58837,882,18915,896,0001,987,0002,527,232
10Oct 29, 2023 06:266,027115,798,07419,287,37802,285,568
11Oct 29, 2023 06:266,03098,487,06819,296,28902,281,472
12Oct 29, 2023 06:266,04198,530,38119,332,36102,277,376