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 19, 2021 20:57Yuriy LyfenkoYuriy LyfenkoScore: 5,412Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 20:575,36934,444,23015,160,0002,021,0002,383,872
2May 19, 2021 20:575,37443,615,35415,173,0002,023,0002,260,992
3May 19, 2021 20:575,37442,061,38415,174,0002,023,0002,387,968
4May 19, 2021 20:575,38033,527,86315,192,0002,025,0002,383,872
5May 19, 2021 20:575,39936,889,24215,245,0002,032,0002,392,064
6May 19, 2021 20:575,40139,732,93017,284,00002,519,040
7May 19, 2021 20:575,41134,822,66216,298,0001,018,0002,383,872
8May 19, 2021 20:575,41233,760,75015,281,0002,037,0002,506,752
9May 19, 2021 20:575,44235,552,68116,391,0001,024,0002,510,848
10May 19, 2021 20:575,65992,084,66318,107,61402,281,472
11May 19, 2021 20:575,66467,887,25418,125,50502,281,472
12May 19, 2021 20:575,66491,260,91418,124,16202,285,568
13May 19, 2021 20:575,67495,711,97518,157,34602,285,568
14May 19, 2021 20:575,69172,257,00418,211,52802,281,472
15May 19, 2021 20:575,71082,706,29118,272,36302,277,376