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 19:46AndreyTSAndreyTSScore: 5,501Success
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 19:465,43844,482,53416,377,0001,023,0002,289,664
2Jun 12, 2024 19:465,46238,790,50116,451,0001,028,0002,289,664
3Jun 12, 2024 19:465,46639,922,64616,462,0001,028,0002,273,280
4Jun 12, 2024 19:465,46738,357,68416,466,0001,029,0002,273,280
5Jun 12, 2024 19:465,47237,773,44117,511,00002,277,376
6Jun 12, 2024 19:465,48736,667,02616,527,0001,032,0002,289,664
7Jun 12, 2024 19:465,50143,527,95016,567,0001,035,0002,289,664
8Jun 12, 2024 19:465,50238,510,81116,571,0001,035,0002,289,664
9Jun 12, 2024 19:465,52244,046,00116,630,0001,039,0002,289,664
10Jun 12, 2024 19:465,69857,420,25618,233,73302,297,856
11Jun 12, 2024 19:465,71689,083,79518,290,84902,301,952
12Jun 12, 2024 19:465,71781,170,45418,294,09002,306,048