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 listMay 17, 2023 22:00Martin StensgårdMartin StensgårdScore: 5,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 22:005,45638,138,09317,458,00002,441,216
2May 17, 2023 22:005,46631,741,57016,463,0001,028,0002,445,312
3May 17, 2023 22:005,48638,213,84417,556,00002,269,184
4May 17, 2023 22:005,48735,435,37316,525,0001,032,0002,531,328
5May 17, 2023 22:005,49344,718,31317,576,00002,449,408
6May 17, 2023 22:005,50244,263,67217,605,00002,453,504
7May 17, 2023 22:005,50445,190,29217,612,00002,535,424
8May 17, 2023 22:005,50435,863,98615,540,0002,072,0002,535,424
9May 17, 2023 22:005,50442,331,83117,613,00002,273,280
10May 17, 2023 22:005,71579,460,40518,287,55402,203,648
11May 17, 2023 22:005,729101,583,07318,332,50902,207,744
12May 17, 2023 22:005,74581,815,92718,383,57102,199,552