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 18, 2021 13:43Yuriy LyfenkoYuriy LyfenkoScore: 5,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:435,3711,338,975,98417,187,00002,265,088
2May 18, 2021 13:435,371359,716,19715,278,0001,909,0002,265,088
3May 18, 2021 13:435,374351,026,88614,163,0003,034,0002,265,088
4May 18, 2021 13:435,377598,098,20815,182,0002,024,0002,265,088
5May 18, 2021 13:435,3841,698,742,52916,217,0001,013,0002,527,232
6May 18, 2021 13:435,3992,813,428,67417,276,00002,527,232
7May 18, 2021 13:435,408833,305,91615,270,0002,036,0002,260,992
8May 18, 2021 13:435,415788,859,80915,403,0001,925,0002,510,848
9May 18, 2021 13:435,4252,359,743,13715,432,0001,929,0002,523,136
10May 18, 2021 13:435,568338,978,21417,817,59302,281,472
11May 18, 2021 13:435,572474,421,38217,831,16602,277,376
12May 18, 2021 13:435,587408,730,82317,879,13502,277,376