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 listSep 14, 2024 21:30Dmitrii KravchenkoDmitrii KravchenkoScore: 5,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2024 21:305,59745,195,21515,921,0001,990,0002,265,088
2Sep 14, 2024 21:305,62049,877,36915,985,0001,998,0002,273,280
3Sep 14, 2024 21:305,62343,870,11916,993,000999,0002,273,280
4Sep 14, 2024 21:305,62442,214,33914,997,0002,999,0002,277,376
5Sep 14, 2024 21:305,63147,015,48917,017,0001,001,0002,277,376
6Sep 14, 2024 21:305,63740,709,76216,034,0002,004,0002,277,376
7Sep 14, 2024 21:305,63944,265,27615,038,0003,007,0002,277,376
8Sep 14, 2024 21:305,67145,725,09817,138,0001,008,0002,277,376
9Sep 14, 2024 21:305,67240,943,95215,125,0003,025,0002,355,200