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 15, 2024 16:04джулисджулисScore: 5,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 16:045,76843,946,60617,431,0001,025,0002,293,760
2Jun 15, 2024 16:045,77045,873,11518,465,00002,375,680
3Jun 15, 2024 16:045,80336,366,87517,540,0001,031,0002,293,760
4Jun 15, 2024 16:045,80644,562,56218,579,00002,371,584
5Jun 15, 2024 16:045,80743,469,20217,549,0001,032,0002,375,680
6Jun 15, 2024 16:045,80940,028,53917,557,0001,032,0002,293,760
7Jun 15, 2024 16:045,80944,159,07117,557,0001,032,0002,293,760
8Jun 15, 2024 16:045,81247,380,75917,565,0001,033,0002,363,392
9Jun 15, 2024 16:045,84344,862,36617,658,0001,038,0002,482,176
10Jun 15, 2024 16:046,00098,907,94319,200,23702,240,512
11Jun 15, 2024 16:046,041105,329,79719,330,73502,244,608
12Jun 15, 2024 16:046,11893,516,17019,578,99502,240,512