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 listApr 24, 2025 00:49vahookvahookScore: 4,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 00:434,12126,416,46313,187,00002,502,656
2Apr 24, 2025 00:434,12925,361,60212,197,0001,016,0002,490,368
3Apr 24, 2025 00:594,13137,925,00413,219,00002,498,560
4Apr 24, 2025 00:494,13431,922,63013,228,00002,498,560
5Apr 24, 2025 00:434,13526,445,83013,231,00002,498,560
6Apr 24, 2025 00:434,13530,353,53113,232,00002,265,088
7Apr 24, 2025 00:434,14829,993,98513,275,00002,273,280
8Apr 24, 2025 00:434,14824,512,12413,275,00002,498,560
9Apr 24, 2025 00:434,15032,439,39513,280,00002,494,464
10Apr 24, 2025 00:594,15929,541,15813,308,00002,273,280
11Apr 24, 2025 00:494,16026,210,68413,313,00002,494,464
12Apr 24, 2025 00:434,16231,437,15213,319,00002,273,280
13Apr 24, 2025 00:434,16824,889,69213,336,00002,273,280
14Apr 24, 2025 00:494,17126,491,42913,348,00002,502,656
15Apr 24, 2025 00:594,17429,199,89813,356,00002,494,464
16Apr 24, 2025 00:434,18523,450,04713,393,00002,498,560
17Apr 24, 2025 00:434,18729,042,82113,399,00002,486,272
18Apr 24, 2025 00:434,19927,406,14013,437,00002,273,280