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 listApr 25, 2025 07:19Adam FolwarcznyAdam FolwarcznyScore: 4,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 07:194,49932,755,89313,370,0001,028,0002,379,776
2Apr 25, 2025 07:184,50135,703,12113,376,0001,028,0002,383,872
3Apr 25, 2025 07:194,50330,087,07413,381,0001,029,0002,396,160
4Apr 25, 2025 07:194,51334,511,42713,409,0001,031,0002,379,776
5Apr 25, 2025 07:184,51732,243,08213,422,0001,032,0002,260,992
6Apr 25, 2025 07:184,51831,428,12313,424,0001,032,0002,256,896
7Apr 25, 2025 07:184,52133,933,17313,433,0001,033,0002,379,776
8Apr 25, 2025 07:184,52230,015,93814,471,00002,387,968
9Apr 25, 2025 07:184,52431,507,52113,442,0001,034,0002,383,872
10Apr 25, 2025 07:184,52429,476,61913,443,0001,034,0002,387,968
11Apr 25, 2025 07:184,52841,716,64713,454,0001,034,0002,375,680
12Apr 25, 2025 07:194,52832,636,35113,454,0001,034,0002,519,040
13Apr 25, 2025 07:184,53033,142,42113,461,0001,035,0002,260,992
14Apr 25, 2025 07:194,53032,859,62114,496,00002,379,776
15Apr 25, 2025 07:194,53031,141,13113,462,0001,035,0002,392,064
16Apr 25, 2025 07:194,53233,266,75213,466,0001,035,0002,519,040
17Apr 25, 2025 07:194,53540,335,34713,476,0001,036,0002,260,992
18Apr 25, 2025 07:194,55539,424,53113,534,0001,041,0002,519,040