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 listJun 12, 2024 23:41джулисджулисScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:415,26835,747,24515,867,000991,0002,293,760
2Jun 12, 2024 23:415,27245,894,02115,877,000992,0002,293,760
3Jun 12, 2024 23:415,27345,261,61415,881,000992,0002,363,392
4Jun 12, 2024 23:415,27647,143,88515,889,000993,0002,293,760
5Jun 12, 2024 23:415,27841,176,62916,890,00002,293,760
6Jun 12, 2024 23:415,27943,283,83414,907,0001,987,0002,293,760
7Jun 12, 2024 23:415,28137,454,00414,910,0001,988,0002,379,776
8Jun 12, 2024 23:415,30144,576,32814,967,0001,995,0002,293,760
9Jun 12, 2024 23:415,30136,842,84715,965,000997,0002,293,760
10Jun 12, 2024 23:415,54376,605,10217,739,00902,244,608
11Jun 12, 2024 23:415,62777,520,54518,007,33902,256,896
12Jun 12, 2024 23:415,63581,405,12118,030,48802,260,992