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 09:52Jack FrigaardJack FrigaardScore: 5,942Success
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 09:525,90453,179,81916,905,0001,988,0002,285,568
2Jan 2, 2023 09:525,90936,929,89617,860,0001,050,0002,285,568
3Jan 2, 2023 09:525,91140,556,73016,924,0001,991,0002,269,184
4Jan 2, 2023 09:525,91238,820,58516,928,0001,991,0002,285,568
5Jan 2, 2023 09:525,92044,956,57716,950,0001,994,0002,523,136
6Jan 2, 2023 09:525,92646,452,57016,966,0001,996,0002,285,568
7Jan 2, 2023 09:525,94239,693,14517,013,0002,001,0002,273,280
8Jan 2, 2023 09:525,95548,648,51417,051,0002,006,0002,285,568
9Jan 2, 2023 09:525,95736,285,85417,055,0002,006,0002,285,568
10Jan 2, 2023 09:526,109102,150,27219,547,62202,256,896
11Jan 2, 2023 09:526,127100,173,09219,607,67102,293,760
12Jan 2, 2023 09:526,16392,859,06519,721,57602,297,856