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 listFeb 2, 2025 18:56Sergey SerebryakovSergey SerebryakovScore: 52,440Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 2, 2025 18:5651,943191,286,475136,177,00030,039,0002,269,184
2Feb 2, 2025 18:5652,014197,422,236135,362,00031,083,0002,265,088
3Feb 2, 2025 18:5652,292194,430,713135,271,00032,064,0002,281,472
4Feb 2, 2025 18:5652,293190,240,853136,274,00031,062,0002,289,664
5Feb 2, 2025 18:5652,440193,773,475135,845,00031,963,0002,277,376
6Feb 2, 2025 18:5652,584196,132,787135,217,00033,053,0002,502,656
7Feb 2, 2025 18:5652,791192,235,673135,945,00032,986,0002,269,184
8Feb 2, 2025 18:5652,801190,873,418137,971,00030,993,0002,281,472
9Feb 2, 2025 18:5652,931192,630,384133,298,00036,080,0002,269,184