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 listJul 13, 2021 19:33Yuriy LyfenkoYuriy LyfenkoScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:335,665543,182,88616,115,0002,014,0002,330,624
2Jul 13, 2021 19:335,692541,856,89415,179,0003,035,0002,334,720
3Jul 13, 2021 19:335,695538,293,76615,186,0003,037,0002,326,528
4Jul 13, 2021 19:335,696540,721,50115,189,0003,037,0002,334,720
5Jul 13, 2021 19:335,697542,011,50915,191,0003,038,0002,330,624
6Jul 13, 2021 19:335,703542,861,72517,235,0001,013,0002,519,040
7Jul 13, 2021 19:335,706543,699,15115,216,0003,043,0002,330,624
8Jul 13, 2021 19:335,721541,850,74516,272,0002,034,0002,330,624
9Jul 13, 2021 19:335,726539,689,22015,270,0003,054,0002,519,040
10Jul 13, 2021 19:335,733572,372,85118,346,15402,220,032
11Jul 13, 2021 19:335,749571,443,99218,395,60502,256,896
12Jul 13, 2021 19:335,775578,430,57218,481,10802,228,224