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 13, 2024 15:56Brian WardBrian WardScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 15:565,66243,037,68917,111,0001,006,0002,289,664
2Apr 13, 2024 15:565,67041,149,71216,128,0002,016,0002,342,912
3Apr 13, 2024 15:565,67339,372,13316,137,0002,017,0002,355,200
4Apr 13, 2024 15:565,68841,274,27616,178,0002,022,0002,289,664
5Apr 13, 2024 15:565,69349,014,70416,194,0002,024,0002,289,664
6Apr 13, 2024 15:565,69842,863,74416,209,0002,026,0002,347,008
7Apr 13, 2024 15:565,70143,448,91116,216,0002,027,0002,289,664
8Apr 13, 2024 15:565,70238,147,22816,219,0002,027,0002,363,392
9Apr 13, 2024 15:565,73141,580,99718,338,00002,351,104
10Apr 13, 2024 15:565,85692,820,87518,738,19902,236,416
11Apr 13, 2024 15:565,90786,585,08418,903,64702,232,320
12Apr 13, 2024 15:565,95189,480,92519,044,68902,220,032