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 22:11Yuriy LyfenkoYuriy LyfenkoScore: 11,676Success
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 22:1110,05875,516,16532,184,71502,244,608
2May 27, 2021 22:1110,10486,461,55632,334,39602,248,704
3May 27, 2021 22:1110,14855,435,34232,473,20402,236,416
4May 27, 2021 22:0710,75982,069,35034,427,75402,244,608
5May 27, 2021 22:0710,77774,563,16134,485,16002,244,608
6May 27, 2021 22:0710,82460,656,34234,638,04902,252,800
7May 27, 2021 22:0611,67685,129,32537,364,24202,232,320
8May 27, 2021 22:0611,68979,864,61437,404,55202,228,224
9May 27, 2021 22:0611,85695,560,68837,937,97002,240,512
10May 27, 2021 22:1114,35469,788,88645,931,88502,236,416
11May 27, 2021 22:1114,39597,653,17146,065,52302,220,032
12May 27, 2021 22:1114,521125,498,57646,466,73102,224,128