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 30, 2024 11:45BenBenScore: 4,547Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:454,51731,906,37514,455,00002,265,088
2Jul 30, 2024 11:454,52534,814,16614,479,00002,371,584
3Jul 30, 2024 11:454,52638,011,12813,450,0001,034,0002,265,088
4Jul 30, 2024 11:454,53937,499,42114,526,00002,371,584
5Jul 30, 2024 11:454,54437,345,56313,502,0001,038,0002,367,488
6Jul 30, 2024 11:454,54637,862,12313,509,0001,039,0002,379,776
7Jul 30, 2024 11:454,54735,820,17313,510,0001,039,0002,371,584
8Jul 30, 2024 11:454,55335,099,60714,568,00002,379,776
9Jul 30, 2024 11:454,55329,836,05314,570,00002,527,232
10Jul 30, 2024 11:454,83363,308,93515,465,73402,277,376
11Jul 30, 2024 11:454,86472,823,70515,565,96702,281,472
12Jul 30, 2024 11:454,89567,645,87915,664,72702,269,184