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 02:45Yuriy LyfenkoYuriy LyfenkoScore: 4,447Success
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 02:454,406540,880,76012,086,0002,014,0002,396,160
2Jun 12, 2024 02:454,428536,840,06212,147,0002,024,0002,523,136
3Jun 12, 2024 02:454,432538,692,57512,156,0002,026,0002,265,088
4Jun 12, 2024 02:454,443536,902,55812,186,0002,031,0002,523,136
5Jun 12, 2024 02:454,443541,848,60913,203,0001,015,0002,523,136
6Jun 12, 2024 02:454,446544,260,99114,227,00002,265,088
7Jun 12, 2024 02:454,447536,858,23213,213,0001,016,0002,265,088
8Jun 12, 2024 02:454,449537,969,28312,203,0002,033,0002,383,872
9Jun 12, 2024 02:454,453539,906,04412,213,0002,035,0002,260,992
10Jun 12, 2024 02:454,633574,256,86414,825,34502,240,512
11Jun 12, 2024 02:454,642588,798,50514,853,96702,285,568
12Jun 12, 2024 02:454,659591,192,76714,908,94302,342,912