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 listMar 7, 2024 07:53Huy Duc LeHuy Duc LeScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:534,60234,534,79713,674,0001,051,0002,396,160
2Mar 7, 2024 07:534,64432,099,27213,870,000990,0002,265,088
3Mar 7, 2024 07:534,64936,661,01513,886,000991,0002,383,872
4Mar 7, 2024 07:534,64933,667,19813,886,000991,0002,527,232
5Mar 7, 2024 07:534,64934,275,85613,887,000991,0002,383,872
6Mar 7, 2024 07:534,65032,357,80414,879,00002,265,088
7Mar 7, 2024 07:534,65231,936,36113,895,000992,0002,265,088
8Mar 7, 2024 07:534,65334,491,02412,903,0001,985,0002,392,064
9Mar 7, 2024 07:534,66036,211,73213,918,000994,0002,387,968
10Mar 7, 2024 07:534,87271,862,65715,589,28902,289,664
11Mar 7, 2024 07:534,87698,750,61115,603,62202,285,568
12Mar 7, 2024 07:534,87899,110,67015,608,08902,281,472