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 16, 2022 04:50Yuriy LyfenkoYuriy LyfenkoScore: 4,630Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2022 04:504,598542,876,64213,733,000980,0002,285,568
2Jul 16, 2022 04:504,618541,242,51013,792,000985,0002,293,760
3Jul 16, 2022 04:504,619539,682,86513,797,000985,0002,297,856
4Jul 16, 2022 04:504,621544,051,54712,816,0001,971,0002,285,568
5Jul 16, 2022 04:504,625539,490,69312,826,0001,973,0002,285,568
6Jul 16, 2022 04:504,625546,524,85813,744,0001,057,0002,285,568
7Jul 16, 2022 04:504,630538,861,17812,842,0001,975,0002,285,568
8Jul 16, 2022 04:504,634534,141,85812,853,0001,977,0002,285,568
9Jul 16, 2022 04:504,643545,097,70112,877,0001,981,0002,285,568
10Jul 16, 2022 04:504,774582,517,68615,277,39602,289,664
11Jul 16, 2022 04:504,783576,795,24515,305,66302,289,664
12Jul 16, 2022 04:504,789593,247,79715,323,20402,289,664