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 20, 2021 02:46Yuriy LyfenkoYuriy LyfenkoScore: 6,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2021 02:466,14448,026,41818,628,0001,034,0002,330,624
2May 20, 2021 02:466,15250,324,96519,686,00002,531,328
3May 20, 2021 02:466,15745,245,47217,628,0002,073,0002,519,040
4May 20, 2021 02:466,15944,725,14819,709,00002,506,752
5May 20, 2021 02:466,16251,995,67018,681,0001,037,0002,330,624
6May 20, 2021 02:466,16949,287,54518,702,0001,039,0002,523,136
7May 20, 2021 02:466,21148,623,52818,881,000993,0002,334,720
8May 20, 2021 02:466,21276,958,38619,879,23302,220,032
9May 20, 2021 02:466,21353,747,11717,894,0001,988,0002,514,944
10May 20, 2021 02:466,21785,947,90119,895,09802,224,128
11May 20, 2021 02:466,22296,172,29419,909,27102,224,128
12May 20, 2021 02:466,22299,599,21419,911,10902,224,128
13May 20, 2021 02:466,23946,896,66317,969,0001,996,0002,330,624
14May 20, 2021 02:466,24295,998,17019,973,45702,224,128
15May 20, 2021 02:466,29995,221,18320,155,64502,215,936