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 23, 2021 19:45Yuriy LyfenkoYuriy LyfenkoScore: 5,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:455,15340,837,74015,460,0001,030,0002,265,088
2May 23, 2021 19:455,15437,528,18916,492,00002,527,232
3May 23, 2021 19:455,15740,884,99715,470,0001,031,0002,506,752
4May 23, 2021 19:455,17233,934,79915,515,0001,034,0002,265,088
5May 23, 2021 19:455,17238,070,79715,516,0001,034,0002,383,872
6May 23, 2021 19:455,17436,789,16116,556,00002,387,968
7May 23, 2021 19:455,19346,730,47616,618,00002,396,160
8May 23, 2021 19:455,21136,916,24915,634,0001,042,0002,265,088
9May 23, 2021 19:455,22052,742,42716,703,00002,527,232
10May 23, 2021 19:455,35386,163,81617,130,57502,277,376
11May 23, 2021 19:455,36180,770,59017,154,19302,285,568
12May 23, 2021 19:455,44782,146,12017,431,84002,281,472