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 listJan 21, 2024 17:24matsuoka-601matsuoka-601Score: 5,021Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 17:244,96645,695,44315,892,00002,523,136
2Jan 21, 2024 17:244,97041,490,81814,845,0001,060,0002,285,568
3Jan 21, 2024 17:244,99338,266,05713,982,0001,997,0002,273,280
4Jan 21, 2024 17:244,99437,195,67113,984,0001,997,0002,269,184
5Jan 21, 2024 17:245,00336,779,08214,008,0002,001,0002,523,136
6Jan 21, 2024 17:245,01837,909,46414,052,0002,007,0002,535,424
7Jan 21, 2024 17:245,02142,369,25415,062,0001,004,0002,285,568
8Jan 21, 2024 17:245,02647,222,45714,074,0002,010,0002,285,568
9Jan 21, 2024 17:245,03346,182,90615,101,0001,006,0002,285,568
10Jan 21, 2024 17:245,16188,016,17916,514,88902,289,664
11Jan 21, 2024 17:245,17366,593,21516,554,95002,301,952
12Jan 21, 2024 17:245,17989,607,66016,571,99502,306,048