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 16, 2021 22:35Andrey TsvetkovAndrey TsvetkovScore: 6,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 09:506,27082,982,38920,065,55502,224,128
2May 16, 2021 09:506,28380,340,61220,105,12102,215,936
3May 16, 2021 22:356,31296,713,11420,197,46902,224,128
4May 16, 2021 22:356,31786,724,15920,215,16902,224,128
5May 16, 2021 09:506,319113,885,31220,220,28202,220,032
6May 16, 2021 09:506,32281,971,92020,231,08502,215,936
7May 16, 2021 22:356,32279,298,96120,229,05402,228,224
8May 16, 2021 09:506,331101,849,04720,257,88602,220,032
9May 16, 2021 09:506,33987,050,09920,283,63502,228,224
10May 16, 2021 22:356,34294,712,92620,295,36802,215,936
11May 16, 2021 09:506,34478,778,36220,299,20302,215,936
12May 16, 2021 09:506,35098,216,26720,320,65602,220,032
13May 16, 2021 09:506,35181,597,16620,323,43002,224,128
14May 16, 2021 22:356,35496,905,29420,331,85402,224,128
15May 16, 2021 09:506,36487,787,60920,365,21202,220,032
16May 16, 2021 22:356,39679,466,10120,468,52702,220,032
17May 16, 2021 09:506,435103,480,71620,593,06402,220,032
18May 16, 2021 09:506,43699,843,23220,596,02602,232,320