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 3, 2023 20:57Hal FHal FScore: 4,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:034,67432,416,52412,962,0001,994,0002,265,088
2Jan 3, 2023 21:034,68530,503,92912,994,0001,999,0002,269,184
3Jan 3, 2023 20:574,68740,017,79312,998,0001,999,0002,273,280
4Jan 3, 2023 21:034,69039,716,08213,006,0002,001,0002,277,376
5Jan 3, 2023 20:574,69037,631,15613,006,0002,001,0002,277,376
6Jan 3, 2023 20:574,69341,542,10214,016,0001,001,0002,289,664
7Jan 3, 2023 21:034,69433,720,37814,020,0001,001,0002,269,184
8Jan 3, 2023 21:034,69631,342,87013,024,0002,003,0002,265,088
9Jan 3, 2023 21:034,69831,308,90913,030,0002,004,0002,281,472
10Jan 3, 2023 20:574,70038,008,51513,036,0002,005,0002,289,664
11Jan 3, 2023 21:034,70936,676,52713,059,0002,009,0002,289,664
12Jan 3, 2023 20:574,71532,722,14114,082,0001,005,0002,289,664
13Jan 3, 2023 20:574,71531,133,60113,076,0002,011,0002,285,568
14Jan 3, 2023 20:574,71841,652,78113,086,0002,013,0002,289,664
15Jan 3, 2023 20:574,72036,824,72313,090,0002,013,0002,289,664
16Jan 3, 2023 21:034,72933,708,03715,132,00002,289,664
17Jan 3, 2023 20:574,74131,609,73214,161,0001,011,0002,273,280
18Jan 3, 2023 21:034,77145,183,25014,251,0001,017,0002,269,184
19Jan 3, 2023 21:034,93991,350,41515,805,78502,179,072
20Jan 3, 2023 21:034,95076,483,76715,841,48802,297,856
21Jan 3, 2023 20:574,96892,858,67115,897,88702,297,856
22Jan 3, 2023 20:574,969112,594,68915,901,99602,301,952
23Jan 3, 2023 21:034,97179,055,55515,908,62402,293,760
24Jan 3, 2023 20:574,99180,207,48115,970,52002,179,072