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 22:49Yuriy LyfenkoYuriy LyfenkoScore: 5,213Success
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 22:495,16336,532,21415,490,0001,032,0002,265,088
2May 23, 2021 22:495,16435,410,74714,582,0001,944,0002,265,088
3May 23, 2021 22:495,17237,179,42016,551,00002,387,968
4May 23, 2021 22:495,17732,050,70915,532,0001,035,0002,527,232
5May 23, 2021 22:495,18439,821,73816,588,00002,383,872
6May 23, 2021 22:495,19234,759,68216,615,00002,265,088
7May 23, 2021 22:495,21348,138,09116,681,00002,265,088
8May 23, 2021 22:495,21329,085,07316,682,00002,506,752
9May 23, 2021 22:495,21839,615,66416,696,00002,265,088
10May 23, 2021 22:495,41163,893,43917,314,15102,277,376
11May 23, 2021 22:495,41694,411,60217,332,76302,277,376
12May 23, 2021 22:495,45479,337,50717,451,56402,273,280