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 27, 2024 21:57HuynhHuynhScore: 5,449Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 21:575,41642,170,30417,332,00002,437,120
2Jul 27, 2024 21:575,42136,030,77516,326,0001,020,0002,420,736
3Jul 27, 2024 21:575,42540,957,45117,361,00002,531,328
4Jul 27, 2024 21:575,43037,303,85517,377,00002,437,120
5Jul 27, 2024 21:575,43439,056,03717,390,00002,433,024
6Jul 27, 2024 21:575,44838,518,11216,409,0001,025,0002,514,944
7Jul 27, 2024 21:575,44947,435,29916,413,0001,025,0002,531,328
8Jul 27, 2024 21:575,45244,182,25515,394,0002,052,0002,433,024
9Jul 27, 2024 21:575,45842,259,24115,412,0002,055,0002,527,232
10Jul 27, 2024 21:575,70082,518,97018,238,89402,314,240
11Jul 27, 2024 21:575,72481,332,43518,315,44102,191,360
12Jul 27, 2024 21:575,72788,341,37218,325,55702,183,168