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 listAug 11, 2024 21:17zielajzielajScore: 4,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 21:174,26228,946,92412,589,0001,049,0002,273,280
2Aug 11, 2024 21:194,27229,277,48212,619,0001,051,0002,457,600
3Aug 11, 2024 21:174,27338,592,12812,621,0001,051,0002,445,312
4Aug 11, 2024 21:194,27427,904,65212,625,0001,052,0002,273,280
5Aug 11, 2024 21:174,27640,484,54112,631,0001,052,0002,445,312
6Aug 11, 2024 21:194,27828,922,24512,637,0001,053,0002,449,408
7Aug 11, 2024 21:194,27829,390,88712,638,0001,053,0002,535,424
8Aug 11, 2024 21:194,27830,294,00812,636,0001,053,0002,445,312
9Aug 11, 2024 21:174,28442,646,15412,654,0001,054,0002,273,280
10Aug 11, 2024 21:174,28739,956,86912,664,0001,055,0002,449,408
11Aug 11, 2024 21:194,28728,626,97312,664,0001,055,0002,535,424
12Aug 11, 2024 21:174,28829,378,25012,667,0001,055,0002,273,280
13Aug 11, 2024 21:194,29326,780,23612,680,0001,056,0002,437,120
14Aug 11, 2024 21:194,29325,061,48112,681,0001,056,0002,453,504
15Aug 11, 2024 21:174,32629,975,09313,844,00002,273,280
16Aug 11, 2024 21:194,32728,942,44712,858,000989,0002,535,424
17Aug 11, 2024 21:174,33729,619,03212,886,000991,0002,535,424
18Aug 11, 2024 21:174,34136,581,47611,907,0001,984,0002,449,408
19Aug 11, 2024 21:194,54092,586,12314,527,75002,191,360
20Aug 11, 2024 21:194,56257,866,07514,599,91402,199,552
21Aug 11, 2024 21:194,56982,857,76414,620,35102,195,456
22Aug 11, 2024 21:174,57879,844,76214,650,50302,256,896
23Aug 11, 2024 21:174,60156,033,51314,724,57902,326,528
24Aug 11, 2024 21:174,60472,521,41914,734,22702,338,816