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 25, 2021 15:26Yuriy LyfenkoYuriy LyfenkoScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:265,28838,185,78914,932,0001,991,0002,265,088
2May 25, 2021 15:265,29237,091,70015,937,000996,0002,396,160
3May 25, 2021 15:265,29541,215,27414,952,0001,993,0002,265,088
4May 25, 2021 15:265,29931,280,14415,959,000997,0002,265,088
5May 25, 2021 15:265,30143,694,48515,966,000997,0002,396,160
6May 25, 2021 15:265,31443,253,61415,004,0002,000,0002,265,088
7May 25, 2021 15:265,32628,722,15715,039,0002,005,0002,392,064
8May 25, 2021 15:265,32934,615,51315,046,0002,006,0002,392,064
9May 25, 2021 15:265,34846,811,63815,102,0002,013,0002,527,232
10May 25, 2021 15:265,47396,472,99117,515,06802,269,184
11May 25, 2021 15:265,48648,061,55717,556,14402,277,376
12May 25, 2021 15:265,58355,817,78717,866,68202,277,376