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 listMay 14, 2021 20:49alex3dalex3dScore: 4,822Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 20:494,79731,215,73914,327,0001,023,0002,519,040
2May 14, 2021 20:494,80938,130,27914,363,0001,025,0002,519,040
3May 14, 2021 20:494,81030,853,66915,392,00002,387,968
4May 14, 2021 20:494,81229,713,19815,399,00002,519,040
5May 14, 2021 20:494,81338,730,11415,403,00002,519,040
6May 14, 2021 20:494,82032,332,00514,395,0001,028,0002,519,040
7May 14, 2021 20:494,82239,448,09613,372,0002,057,0002,519,040
8May 14, 2021 20:494,82731,064,66314,417,0001,029,0002,519,040
9May 14, 2021 20:494,84137,725,47815,491,00002,387,968
10May 14, 2021 20:495,06791,821,89816,213,69602,285,568
11May 14, 2021 20:495,07883,965,48016,249,98202,277,376
12May 14, 2021 20:495,08473,491,07716,267,36302,285,568