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 listApr 7, 2022 19:52Egor SergeevEgor SergeevScore: 5,139Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 19:525,10931,712,63816,349,00002,494,464
2Apr 7, 2022 19:525,11038,322,74616,353,00002,277,376
3Apr 7, 2022 19:525,11434,952,82616,365,00002,498,560
4Apr 7, 2022 19:525,11835,736,93816,377,00002,494,464
5Apr 7, 2022 19:525,11932,984,43116,382,00002,498,560
6Apr 7, 2022 19:525,13833,557,95416,440,00002,498,560
7Apr 7, 2022 19:525,13931,294,92016,446,00002,277,376
8Apr 7, 2022 19:525,14632,758,39616,468,00002,277,376
9Apr 7, 2022 19:525,17839,137,67216,571,00002,277,376
10Apr 7, 2022 19:525,32477,505,84517,035,44602,244,608
11Apr 7, 2022 19:525,37458,839,13817,197,26302,244,608
12Apr 7, 2022 19:525,37993,841,83517,213,04702,240,512