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 9, 2024 14:43emily graceemily graceScore: 5,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2024 19:075,45185,127,05417,442,60302,281,472
2Apr 9, 2024 14:445,45289,560,84817,446,38502,289,664
3Apr 9, 2024 14:445,46476,339,99517,484,81302,297,856
4Apr 9, 2024 19:075,47184,986,19817,507,51102,285,568
5Apr 9, 2024 14:435,47475,940,95317,516,19202,289,664
6Apr 9, 2024 14:435,49265,347,38517,575,86702,289,664
7Apr 9, 2024 14:435,49786,036,24117,590,27002,281,472
8Apr 9, 2024 19:075,50078,672,35617,599,09702,252,800
9Apr 9, 2024 14:445,502103,812,99617,605,74702,281,472
10Apr 9, 2024 14:435,51581,811,10417,647,45202,293,760
11Apr 9, 2024 14:435,54695,436,52617,748,08102,289,664
12Apr 9, 2024 14:435,57685,954,95517,841,67602,289,664