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 4, 2024 13:56MylesMylesScore: 4,547Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 13:564,51828,277,53913,427,0001,032,0002,449,408
2Aug 4, 2024 13:564,52640,852,69613,450,0001,034,0002,281,472
3Aug 4, 2024 13:564,52726,663,82513,452,0001,034,0002,281,472
4Aug 4, 2024 13:564,53334,402,12713,468,0001,036,0002,281,472
5Aug 4, 2024 13:564,53426,491,89813,472,0001,036,0002,535,424
6Aug 4, 2024 13:564,53831,809,51113,486,0001,037,0002,445,312
7Aug 4, 2024 13:564,54732,694,99014,551,00002,449,408
8Aug 4, 2024 13:564,55534,080,95313,535,0001,041,0002,281,472
9Aug 4, 2024 13:564,55636,438,32113,539,0001,041,0002,281,472
10Aug 4, 2024 13:564,79494,432,98215,339,82102,195,456
11Aug 4, 2024 13:564,82080,040,01715,424,02002,330,624
12Aug 4, 2024 13:564,83878,669,68015,481,74602,338,816