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 listJul 22, 2022 23:37Robert BurkeRobert BurkeScore: 4,646Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:374,56530,001,12613,564,0001,043,0002,281,472
2Jul 22, 2022 23:374,57628,771,82813,598,0001,046,0002,445,312
3Jul 22, 2022 23:374,59536,936,67713,654,0001,050,0002,449,408
4Jul 22, 2022 23:374,59833,512,88013,664,0001,051,0002,449,408
5Jul 22, 2022 23:374,60330,854,18213,677,0001,052,0002,277,376
6Jul 22, 2022 23:374,60641,364,75613,686,0001,052,0002,281,472
7Jul 22, 2022 23:374,64629,782,09012,885,0001,982,0002,281,472
8Jul 22, 2022 23:374,65139,075,05012,899,0001,984,0002,281,472
9Jul 22, 2022 23:374,65331,331,00213,896,000992,0002,281,472
10Jul 22, 2022 23:374,79586,971,58515,342,75002,260,992
11Jul 22, 2022 23:374,87871,222,98415,610,50902,203,648
12Jul 22, 2022 23:374,88895,132,87615,642,28402,203,648