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 24, 2021 19:39Yuriy LyfenkoYuriy LyfenkoScore: 5,116Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:395,05232,404,17214,146,0002,020,0002,392,064
2May 24, 2021 19:395,05342,492,78015,158,0001,010,0002,265,088
3May 24, 2021 19:395,08043,448,68416,257,00002,527,232
4May 24, 2021 19:395,08332,058,29315,248,0001,016,0002,265,088
5May 24, 2021 19:395,08941,813,14414,251,0002,035,0002,265,088
6May 24, 2021 19:395,09335,636,07416,296,00002,265,088
7May 24, 2021 19:395,11646,982,80514,324,0002,046,0002,265,088
8May 24, 2021 19:395,11733,859,02115,350,0001,023,0002,256,896
9May 24, 2021 19:395,12344,329,36015,370,0001,024,0002,265,088
10May 24, 2021 19:395,26767,333,46516,853,38202,273,280
11May 24, 2021 19:395,28340,852,95416,904,50102,281,472
12May 24, 2021 19:395,33378,334,61117,065,56702,277,376