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 07:08Yuriy LyfenkoYuriy LyfenkoScore: 5,478Success
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 07:085,43839,698,16816,377,0001,023,0002,392,064
2May 28, 2021 07:085,44738,540,01616,406,0001,025,0002,265,088
3May 28, 2021 07:085,44931,244,95817,438,00002,392,064
4May 28, 2021 07:085,46740,224,26317,495,00002,506,752
5May 28, 2021 07:085,47340,875,76916,482,0001,030,0002,265,088
6May 28, 2021 07:085,47539,513,54816,489,0001,030,0002,527,232
7May 28, 2021 07:085,47842,053,81216,497,0001,031,0002,265,088
8May 28, 2021 07:085,48235,909,26517,543,00002,383,872
9May 28, 2021 07:085,50744,366,43116,585,0001,036,0002,392,064
10May 28, 2021 07:085,64079,198,88718,046,86002,277,376
11May 28, 2021 07:085,65775,915,05918,101,61302,289,664
12May 28, 2021 07:085,67647,980,55418,163,10502,277,376