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 listOct 29, 2024 11:28Jonathan HallströmJonathan HallströmScore: 7,251Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2024 11:287,22946,501,81322,128,0001,005,0002,289,664
2Oct 29, 2024 11:287,23045,141,16121,124,0002,011,0002,281,472
3Oct 29, 2024 11:287,23550,891,48421,139,0002,013,0002,289,664
4Oct 29, 2024 11:287,24447,142,66221,165,0002,015,0002,289,664
5Oct 29, 2024 11:287,25150,133,98521,187,0002,017,0002,273,280
6Oct 29, 2024 11:287,25853,859,11321,207,0002,019,0002,281,472
7Oct 29, 2024 11:287,30645,086,99121,346,0002,033,0002,289,664
8Oct 29, 2024 11:287,31149,773,21821,361,0002,034,0002,277,376
9Oct 29, 2024 11:287,32346,390,42623,433,00002,289,664