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 14, 2022 20:03Franek KortaFranek KortaScore: 5,826Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2022 20:035,62991,513,75218,012,60602,195,456
2Aug 14, 2022 20:035,63263,239,97618,023,28302,285,568
3Aug 14, 2022 20:035,63983,937,04518,046,30902,273,280
4Aug 14, 2022 20:035,80546,141,03818,575,00002,519,040
5Aug 14, 2022 20:035,80742,724,28617,550,0001,032,0002,392,064
6Aug 14, 2022 20:035,80944,731,83117,557,0001,032,0002,260,992
7Aug 14, 2022 20:035,82645,680,97615,535,0003,107,0002,383,872
8Aug 14, 2022 20:035,83041,296,04518,656,00002,396,160
9Aug 14, 2022 20:035,83749,339,36617,642,0001,037,0002,396,160
10Aug 14, 2022 20:035,84546,430,40317,665,0001,039,0002,396,160
11Aug 14, 2022 20:035,84640,295,69218,707,00002,400,256
12Aug 14, 2022 20:035,88344,207,08017,836,000990,0002,519,040