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 28, 2021 14:46Yuriy LyfenkoYuriy LyfenkoScore: 5,146Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:465,09340,941,44714,260,0002,037,0002,396,160
2May 28, 2021 14:465,11339,344,28715,338,0001,022,0002,265,088
3May 28, 2021 14:465,11443,022,27114,320,0002,045,0002,265,088
4May 28, 2021 14:465,11648,420,40815,347,0001,023,0002,265,088
5May 28, 2021 14:465,12733,835,91915,380,0001,025,0002,265,088
6May 28, 2021 14:465,13538,285,43416,432,00002,506,752
7May 28, 2021 14:465,14639,890,14115,439,0001,029,0002,265,088
8May 28, 2021 14:465,15842,498,65815,476,0001,031,0002,506,752
9May 28, 2021 14:465,16336,576,96715,490,0001,032,0002,265,088
10May 28, 2021 14:465,28480,581,59016,908,17402,285,568
11May 28, 2021 14:465,31079,885,47116,991,48602,277,376
12May 28, 2021 14:465,32440,013,86417,035,85202,281,472