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 23, 2025 19:06vahookvahookScore: 4,168Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 19:074,10127,907,93112,115,0001,009,0002,494,464
2Apr 23, 2025 19:064,12433,631,68812,182,0001,015,0002,494,464
3Apr 23, 2025 19:064,13428,901,49511,339,0001,889,0002,531,328
4Apr 23, 2025 19:064,14826,218,13313,274,00002,273,280
5Apr 23, 2025 19:064,15131,263,79813,284,00002,498,560
6Apr 23, 2025 19:054,15331,260,73713,289,00002,273,280
7Apr 23, 2025 19:054,15925,313,10213,309,00002,490,368
8Apr 23, 2025 19:054,16031,100,97613,311,00002,273,280
9Apr 23, 2025 19:074,16326,244,62613,321,00002,273,280
10Apr 23, 2025 19:074,16833,338,97113,338,00002,498,560
11Apr 23, 2025 19:064,17327,798,92913,352,00002,494,464
12Apr 23, 2025 19:064,17629,064,34412,336,0001,028,0002,502,656
13Apr 23, 2025 19:064,18331,368,56613,387,00002,273,280
14Apr 23, 2025 19:064,18430,943,56613,388,00002,494,464
15Apr 23, 2025 19:064,19530,190,20313,424,00002,273,280
16Apr 23, 2025 19:064,20939,158,73213,469,00002,273,280
17Apr 23, 2025 19:064,22430,984,05413,518,00002,490,368
18Apr 23, 2025 19:064,22624,382,33213,523,00002,273,280