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 listAug 17, 2024 10:45zielajzielajScore: 4,220Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 10:454,18632,237,36813,394,00002,494,464
2Aug 17, 2024 10:454,20029,329,10013,439,00002,494,464
3Aug 17, 2024 10:454,20332,822,68513,449,00002,498,560
4Aug 17, 2024 10:454,20730,039,21813,462,00002,498,560
5Aug 17, 2024 10:454,20827,847,53013,466,00002,531,328
6Aug 17, 2024 10:454,21330,824,87113,480,00002,531,328
7Aug 17, 2024 10:454,22031,714,07613,505,00002,531,328
8Aug 17, 2024 10:454,22131,588,05513,506,00002,531,328
9Aug 17, 2024 10:454,23336,708,06713,547,00002,269,184
10Aug 17, 2024 10:454,50590,199,92314,416,72702,240,512
11Aug 17, 2024 10:454,511101,632,59814,433,98802,236,416
12Aug 17, 2024 10:454,53069,729,01414,495,50502,236,416