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 17, 2021 19:29Yuriy LyfenkoYuriy LyfenkoScore: 5,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:295,3292,859,097,80414,045,0003,009,0002,527,232
2May 17, 2021 19:295,334137,526,17916,064,0001,004,0002,387,968
3May 17, 2021 19:295,3391,454,516,71417,086,00002,265,088
4May 17, 2021 19:295,3432,139,499,10216,094,0001,005,0002,265,088
5May 17, 2021 19:295,3571,563,586,59316,189,000952,0002,260,992
6May 17, 2021 19:295,359917,215,34515,132,0002,017,0002,527,232
7May 17, 2021 19:295,3652,335,154,75915,149,0002,019,0002,265,088
8May 17, 2021 19:295,395474,255,15217,265,00002,265,088
9May 17, 2021 19:295,41556,956,53015,403,0001,925,0002,265,088
10May 17, 2021 19:295,5372,537,663,48317,719,98902,277,376
11May 17, 2021 19:295,5392,618,800,43017,723,89902,277,376
12May 17, 2021 19:295,5602,385,673,50217,791,65702,277,376