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 7, 2023 06:46Alexander MonakovAlexander MonakovScore: 4,563Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 06:464,509238,879,23214,429,00002,310,144
2Jun 7, 2023 06:464,554239,280,29613,601,000971,0002,494,464
3Jun 7, 2023 06:464,557238,824,59713,609,000972,0002,535,424
4Jun 7, 2023 06:464,558243,064,77913,614,000972,0002,494,464
5Jun 7, 2023 06:464,558244,874,65714,586,00002,490,368
6Jun 7, 2023 06:464,563238,437,03413,627,000973,0002,535,424
7Jun 7, 2023 06:464,563234,936,75213,628,000973,0002,535,424
8Jun 7, 2023 06:464,571236,369,03213,651,000975,0002,535,424
9Jun 7, 2023 06:464,596245,627,68913,726,000980,0002,293,760
10Jun 7, 2023 06:464,805286,792,77515,377,35802,363,392
11Jun 7, 2023 06:464,812288,550,60015,399,29302,359,296
12Jun 7, 2023 06:464,825287,543,00315,441,45102,351,104