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 4, 2025 19:11Adam FolwarcznyAdam FolwarcznyScore: 4,218Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2025 19:114,20134,196,42412,410,0001,034,0002,531,328
2May 4, 2025 19:114,21334,087,14612,445,0001,037,0002,531,328
3May 4, 2025 19:114,21426,887,24812,449,0001,037,0002,531,328
4May 4, 2025 19:114,21529,503,84212,450,0001,037,0002,531,328
5May 4, 2025 19:114,21829,454,36912,461,0001,038,0002,531,328
6May 4, 2025 19:114,24129,949,64912,527,0001,043,0002,453,504
7May 4, 2025 19:114,24134,608,08612,528,0001,043,0002,445,312
8May 4, 2025 19:114,25028,755,18112,555,0001,046,0002,531,328
9May 4, 2025 19:114,25936,361,44512,581,0001,048,0002,531,328