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 12:06Jonathan HallströmJonathan HallströmScore: 5,502Success
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 12:065,46345,619,84816,452,0001,028,0002,277,376
2Oct 29, 2024 12:065,46540,783,31617,489,00002,289,664
3Oct 29, 2024 12:065,48344,251,73816,513,0001,032,0002,289,664
4Oct 29, 2024 12:065,48742,172,83417,559,00002,289,664
5Oct 29, 2024 12:065,49637,888,48616,554,0001,034,0002,273,280
6Oct 29, 2024 12:065,49746,438,03916,555,0001,034,0002,531,328
7Oct 29, 2024 12:065,50241,825,39617,605,00002,281,472
8Oct 29, 2024 12:065,50548,979,51617,617,00002,289,664
9Oct 29, 2024 12:065,50548,977,95716,579,0001,036,0002,289,664
10Oct 29, 2024 12:065,51339,573,68016,605,0001,037,0002,277,376
11Oct 29, 2024 12:065,52041,009,47516,625,0001,039,0002,289,664
12Oct 29, 2024 12:065,52344,976,53917,673,00002,277,376