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 27, 2021 16:49Yuriy LyfenkoYuriy LyfenkoScore: 5,440Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:495,38635,348,20415,207,0002,027,0002,527,232
2May 27, 2021 16:495,39542,754,35316,250,0001,015,0002,396,160
3May 27, 2021 16:495,41243,530,93116,299,0001,018,0002,265,088
4May 27, 2021 16:495,41946,395,43415,300,0002,040,0002,265,088
5May 27, 2021 16:495,42633,008,88916,342,0001,021,0002,383,872
6May 27, 2021 16:495,43634,826,57416,373,0001,023,0002,392,064
7May 27, 2021 16:495,44035,332,80017,409,00002,400,256
8May 27, 2021 16:495,44842,318,09416,409,0001,025,0002,265,088
9May 27, 2021 16:495,45745,393,66116,435,0001,027,0002,265,088
10May 27, 2021 16:495,68574,541,90318,190,95102,240,512
11May 27, 2021 16:495,73857,239,27018,360,88802,277,376
12May 27, 2021 16:495,95392,442,35019,049,93102,273,280