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 17, 2021 04:50Yuriy LyfenkoYuriy LyfenkoScore: 5,421Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 04:505,36637,136,48714,140,0003,030,0002,387,968
2May 17, 2021 04:505,38845,306,98715,212,0002,028,0002,396,160
3May 17, 2021 04:505,39236,533,20616,239,0001,014,0002,265,088
4May 17, 2021 04:505,40842,824,90017,305,00002,383,872
5May 17, 2021 04:505,41441,143,06017,325,00002,396,160
6May 17, 2021 04:505,41536,948,68517,327,00002,269,184
7May 17, 2021 04:505,42135,559,43315,307,0002,041,0002,265,088
8May 17, 2021 04:505,43047,821,83915,331,0002,044,0002,396,160
9May 17, 2021 04:505,43845,100,42815,355,0002,047,0002,269,184
10May 17, 2021 04:505,61597,330,36917,968,76102,277,376
11May 17, 2021 04:505,65783,921,41518,100,96002,281,472
12May 17, 2021 04:505,67584,123,05118,160,28702,281,472