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 1, 2023 21:49Jack FrigaardJack FrigaardScore: 5,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:495,58456,158,16015,884,0001,985,0002,285,568
2Jan 1, 2023 21:495,59941,643,17016,923,000995,0002,285,568
3Jan 1, 2023 21:495,60949,374,13715,954,0001,994,0002,285,568
4Jan 1, 2023 21:495,61743,191,00015,977,0001,997,0002,527,232
5Jan 1, 2023 21:495,62239,495,97715,991,0001,998,0002,285,568
6Jan 1, 2023 21:495,63442,363,55216,025,0002,003,0002,285,568
7Jan 1, 2023 21:495,63736,412,50216,035,0002,004,0002,285,568
8Jan 1, 2023 21:495,67239,530,05816,135,0002,016,0002,285,568
9Jan 1, 2023 21:495,67340,925,17217,144,0001,008,0002,285,568
10Jan 1, 2023 21:495,879111,214,89718,813,62202,301,952
11Jan 1, 2023 21:495,951104,567,11419,041,77402,297,856
12Jan 1, 2023 21:496,14180,005,55519,652,49102,293,760