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 30, 2022 13:28Keichi TakahashiKeichi TakahashiScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:285,22341,902,20115,668,0001,044,0002,265,088
2May 30, 2022 13:285,22344,879,53216,713,00002,265,088
3May 30, 2022 13:285,22532,888,72216,720,00002,265,088
4May 30, 2022 13:285,22946,632,49416,734,00002,265,088
5May 30, 2022 13:285,23041,046,72415,691,0001,046,0002,265,088
6May 30, 2022 13:285,23732,383,11915,711,0001,047,0002,506,752
7May 30, 2022 13:285,27535,308,74016,880,00002,506,752
8May 30, 2022 13:285,27642,648,08214,898,0001,986,0002,387,968
9May 30, 2022 13:285,28944,146,24515,930,000995,0002,527,232
10May 30, 2022 13:285,44279,009,78217,412,95202,265,088
11May 30, 2022 13:285,45278,040,65417,445,82602,273,280
12May 30, 2022 13:285,45568,198,95617,455,34402,281,472