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 17:35Yuriy LyfenkoYuriy LyfenkoScore: 5,150Success
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 17:355,10640,258,38215,317,0001,021,0002,265,088
2May 24, 2021 17:355,10837,286,83715,325,0001,021,0002,265,088
3May 24, 2021 17:355,11038,658,38115,330,0001,022,0002,260,992
4May 24, 2021 17:355,11343,067,12415,338,0001,022,0002,392,064
5May 24, 2021 17:355,12131,357,28116,386,00002,506,752
6May 24, 2021 17:355,12240,118,09815,366,0001,024,0002,265,088
7May 24, 2021 17:355,15039,617,36415,450,0001,030,0002,392,064
8May 24, 2021 17:355,16437,421,52515,492,0001,032,0002,387,968
9May 24, 2021 17:355,17332,899,98616,553,00002,527,232
10May 24, 2021 17:355,30448,292,40116,974,36602,277,376
11May 24, 2021 17:355,31151,799,96816,993,88402,273,280
12May 24, 2021 17:355,86698,485,51718,770,17002,277,376