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 listMay 28, 2021 14:42Yuriy LyfenkoYuriy LyfenkoScore: 5,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:425,08833,869,64214,248,0002,035,0002,265,088
2May 28, 2021 14:425,09038,708,09215,270,0001,018,0002,256,896
3May 28, 2021 14:425,09133,062,55115,274,0001,018,0002,392,064
4May 28, 2021 14:425,09534,171,92715,286,0001,019,0002,265,088
5May 28, 2021 14:425,09547,656,33315,286,0001,019,0002,265,088
6May 28, 2021 14:425,10042,038,72116,319,00002,387,968
7May 28, 2021 14:425,11043,689,55116,351,00002,265,088
8May 28, 2021 14:425,11436,867,06815,342,0001,022,0002,265,088
9May 28, 2021 14:425,11437,967,59515,343,0001,022,0002,265,088
10May 28, 2021 14:425,11433,583,96715,343,0001,022,0002,392,064
11May 28, 2021 14:425,11640,173,85915,349,0001,023,0002,265,088
12May 28, 2021 14:425,12337,791,60015,368,0001,024,0002,265,088
13May 28, 2021 14:425,13739,364,61915,410,0001,027,0002,265,088
14May 28, 2021 14:425,13747,146,46716,439,00002,265,088
15May 28, 2021 14:425,13842,757,87816,442,00002,265,088
16May 28, 2021 14:425,14137,730,85615,422,0001,028,0002,527,232
17May 28, 2021 14:425,14231,761,52815,426,0001,028,0002,527,232
18May 28, 2021 14:425,14739,844,46916,471,00002,392,064
19May 28, 2021 14:425,28956,079,30816,923,62902,273,280
20May 28, 2021 14:425,29467,495,87916,939,90702,269,184
21May 28, 2021 14:425,30891,483,07616,986,71802,273,280
22May 28, 2021 14:425,33762,042,46917,077,40702,265,088
23May 28, 2021 14:425,34351,755,67217,099,11302,273,280
24May 28, 2021 14:425,34955,363,69417,117,23902,273,280