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 listJul 31, 2023 09:36Yaroslav SkrebetsYaroslav SkrebetsScore: 714,107Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2023 09:36710,6652,337,442,3262,274,126,43602,244,608
2Jul 31, 2023 09:36714,1072,344,066,0322,285,141,72002,232,320
3Jul 31, 2023 09:36852,4672,786,506,9342,727,893,29102,228,224