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 listDec 22, 2021 04:03Yuriy LyfenkoYuriy LyfenkoScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:035,690537,245,09316,184,0002,023,0002,334,720
2Dec 22, 2021 04:035,719539,644,21914,234,0004,067,0002,338,816
3Dec 22, 2021 04:035,748545,321,36817,371,0001,021,0002,334,720
4Dec 22, 2021 04:035,786570,285,84718,516,27302,252,800
5Dec 22, 2021 04:035,813576,470,82718,600,97902,252,800
6Dec 22, 2021 04:035,828579,230,34118,649,32702,195,456
7Dec 22, 2021 04:035,901544,355,32214,908,0003,975,0002,334,720
8Dec 22, 2021 04:036,025542,541,90217,252,0002,029,0002,334,720
9Dec 22, 2021 04:036,101544,249,52818,495,0001,027,0002,334,720
10Dec 22, 2021 04:037,064552,245,50617,223,0005,382,0002,334,720
11Dec 22, 2021 04:037,406550,212,44717,516,0006,182,0002,334,720
12Dec 22, 2021 04:037,441551,025,94716,867,0006,945,0002,334,720