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 15, 2024 14:22kytanskytansScore: 20,234Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:2420,009118,882,19264,027,51602,240,512
2Jul 15, 2024 14:2220,017123,911,35164,055,68602,240,512
3Jul 15, 2024 14:2420,172119,871,88764,549,61902,232,320
4Jul 15, 2024 14:2220,234122,652,95264,747,38402,363,392
5Jul 15, 2024 14:2420,265119,241,64564,848,39302,228,224
6Jul 15, 2024 14:2220,314124,501,44165,004,35102,244,608