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 listJan 2, 2023 17:23Jack FrigaardJack FrigaardScore: 4,856Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:234,80540,903,01214,352,0001,025,0002,285,568
2Jan 2, 2023 17:234,81130,196,04313,343,0002,052,0002,269,184
3Jan 2, 2023 17:234,83042,097,54113,395,0002,060,0002,269,184
4Jan 2, 2023 17:234,83134,013,71214,428,0001,030,0002,285,568
5Jan 2, 2023 17:234,83239,652,55015,462,00002,277,376
6Jan 2, 2023 17:234,85342,917,48413,459,0002,070,0002,285,568
7Jan 2, 2023 17:234,85640,104,45714,504,0001,036,0002,531,328
8Jan 2, 2023 17:234,87336,652,18114,554,0001,039,0002,269,184
9Jan 2, 2023 17:234,89832,603,29815,672,00002,285,568
10Jan 2, 2023 17:235,08464,171,98816,267,69502,293,760
11Jan 2, 2023 17:235,09969,456,37516,316,64802,293,760
12Jan 2, 2023 17:235,10485,170,65316,331,92602,297,856