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 19, 2022 15:52Adam StřelskýAdam StřelskýScore: 5,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 15:525,48343,885,74617,545,00002,269,184
2Jul 19, 2022 15:525,48641,297,66116,524,0001,032,0002,269,184
3Jul 19, 2022 15:525,49950,534,39817,598,00002,441,216
4Jul 19, 2022 15:525,50245,059,64417,605,00002,445,312
5Jul 19, 2022 15:525,51144,767,87517,635,00002,269,184
6Jul 19, 2022 15:525,51340,695,30717,641,00002,445,312
7Jul 19, 2022 15:525,51645,236,10916,613,0001,038,0002,433,024
8Jul 19, 2022 15:525,52142,634,37217,667,00002,531,328
9Jul 19, 2022 15:525,52244,397,40617,669,00002,437,120
10Jul 19, 2022 15:525,84195,578,85418,689,80802,199,552
11Jul 19, 2022 15:525,87076,464,51918,783,57902,199,552
12Jul 19, 2022 15:525,89482,185,49218,859,28302,203,648