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 10, 2024 03:23Steve BronderSteve BronderScore: 5,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 03:235,63446,708,77116,026,0002,003,0002,285,568
2Apr 10, 2024 03:235,64437,960,11216,055,0002,006,0002,277,376
3Apr 10, 2024 03:235,64945,185,87316,068,0002,008,0002,273,280
4Apr 10, 2024 03:235,64939,165,91916,069,0002,008,0002,273,280
5Apr 10, 2024 03:235,66240,999,39116,104,0002,013,0002,273,280
6Apr 10, 2024 03:235,66241,850,91416,104,0002,013,0002,293,760
7Apr 10, 2024 03:235,67141,580,22516,131,0002,016,0002,281,472
8Apr 10, 2024 03:235,68641,317,19616,175,0002,021,0002,363,392
9Apr 10, 2024 03:235,68747,366,24516,176,0002,022,0002,293,760
10Apr 10, 2024 03:235,86195,742,67718,756,12602,179,072
11Apr 10, 2024 03:235,86380,086,54118,760,04902,183,168
12Apr 10, 2024 03:235,893101,186,23218,856,55702,183,168