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 7, 2024 01:14zielajzielajScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:134,63834,781,44313,853,000989,0002,273,280
2Aug 7, 2024 01:144,63938,220,28814,844,00002,355,200
3Aug 7, 2024 01:134,64234,006,16713,864,000990,0002,289,664
4Aug 7, 2024 01:144,64341,663,42114,856,00002,289,664
5Aug 7, 2024 01:134,64435,022,07412,880,0001,981,0002,289,664
6Aug 7, 2024 01:134,64736,476,93813,879,000991,0002,273,280
7Aug 7, 2024 01:134,64833,958,73213,882,000991,0002,281,472
8Aug 7, 2024 01:144,64831,504,39513,881,000991,0002,273,280
9Aug 7, 2024 01:144,64936,737,08212,894,0001,983,0002,285,568
10Aug 7, 2024 01:144,65037,775,26313,888,000992,0002,289,664
11Aug 7, 2024 01:144,65140,351,26712,898,0001,984,0002,289,664
12Aug 7, 2024 01:144,65240,711,72712,902,0001,985,0002,289,664
13Aug 7, 2024 01:134,65331,700,11912,904,0001,985,0002,273,280
14Aug 7, 2024 01:134,65533,616,84012,910,0001,986,0002,289,664
15Aug 7, 2024 01:134,65743,870,92712,916,0001,987,0002,269,184
16Aug 7, 2024 01:144,66331,668,82612,933,0001,989,0002,285,568
17Aug 7, 2024 01:144,67038,562,26512,953,0001,992,0002,289,664
18Aug 7, 2024 01:134,68840,037,99513,002,0002,000,0002,273,280
19Aug 7, 2024 01:144,84999,615,13715,515,39602,306,048
20Aug 7, 2024 01:134,859115,811,32815,547,95002,301,952
21Aug 7, 2024 01:144,873101,354,75715,594,23002,293,760
22Aug 7, 2024 01:134,87392,877,72715,592,91302,256,896
23Aug 7, 2024 01:134,88490,287,14115,628,84402,301,952
24Aug 7, 2024 01:144,88591,272,73015,632,65902,179,072