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 29, 2021 00:49Egor SergeevEgor SergeevScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 00:495,21432,113,32816,685,00002,498,560
2May 29, 2021 00:495,22340,075,93816,713,00002,498,560
3May 29, 2021 00:495,27440,175,85615,886,000992,0002,502,656
4May 29, 2021 00:495,27544,239,82415,888,000993,0002,277,376
5May 29, 2021 00:495,27640,039,50115,889,000993,0002,277,376
6May 29, 2021 00:495,27834,413,21716,891,00002,490,368
7May 29, 2021 00:495,27943,421,03915,899,000993,0002,277,376
8May 29, 2021 00:495,28545,115,33915,918,000994,0002,498,560
9May 29, 2021 00:495,29336,627,05915,943,000996,0002,277,376
10May 29, 2021 00:495,33960,166,60017,085,49702,240,512
11May 29, 2021 00:495,40951,923,23217,307,31302,252,800
12May 29, 2021 00:495,57463,696,39817,837,93802,244,608