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 11, 2021 15:15Andrey TsvetkovAndrey TsvetkovScore: 6,219Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:136,10745,742,47419,541,00002,531,328
2May 11, 2021 15:136,10744,584,94017,484,0002,057,0002,326,528
3May 11, 2021 15:136,11345,675,63118,534,0001,029,0002,330,624
4May 11, 2021 15:136,13545,623,12618,600,0001,033,0002,326,528
5May 11, 2021 15:136,14246,396,02218,621,0001,034,0002,326,528
6May 11, 2021 15:136,14749,011,67517,599,0002,070,0002,326,528
7May 11, 2021 15:136,15948,097,22718,672,0001,037,0002,330,624
8May 11, 2021 15:136,19475,368,69019,820,34202,228,224
9May 11, 2021 15:156,20383,725,70119,849,24602,232,320
10May 11, 2021 15:136,21348,038,51717,893,0001,988,0002,531,328
11May 11, 2021 15:136,21945,998,90918,905,000995,0002,527,232
12May 11, 2021 15:136,22191,503,14619,908,30502,240,512
13May 11, 2021 15:136,22683,359,05319,922,57402,240,512
14May 11, 2021 15:136,233102,273,09419,946,26902,236,416
15May 11, 2021 15:136,25288,043,06420,006,94902,240,512
16May 11, 2021 15:136,25987,949,09920,028,85102,236,416
17May 11, 2021 15:136,26085,559,80620,030,92902,232,320
18May 11, 2021 15:136,26388,331,62820,040,85702,224,128
19May 11, 2021 15:136,30089,954,62520,160,11802,232,320
20May 11, 2021 15:156,30482,508,78320,171,30102,232,320
21May 11, 2021 15:156,33593,508,53920,271,24302,236,416