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 19:52Franek KortaFranek KortaScore: 5,780Success
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 19:525,55285,429,66617,767,75202,203,648
2Aug 14, 2022 19:525,57857,255,40717,848,92202,191,360
3Aug 14, 2022 19:525,58781,769,88117,878,66502,195,456
4Aug 14, 2022 19:525,76650,658,11818,451,00002,445,312
5Aug 14, 2022 19:525,76739,520,46618,455,00002,269,184
6Aug 14, 2022 19:525,77042,542,16218,463,00002,437,120
7Aug 14, 2022 19:525,78040,644,37618,497,00002,445,312
8Aug 14, 2022 19:525,78441,338,10618,510,00002,445,312
9Aug 14, 2022 19:525,79038,108,83916,471,0002,058,0002,531,328
10Aug 14, 2022 19:525,79837,904,54017,525,0001,030,0002,531,328
11Aug 14, 2022 19:525,80840,855,21518,585,00002,441,216
12Aug 14, 2022 19:525,81242,237,19617,564,0001,033,0002,531,328