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:56Yuriy LyfenkoYuriy LyfenkoScore: 5,678Success
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:565,614545,438,80114,971,0002,994,0002,334,720
2Jul 13, 2021 19:565,638543,822,18016,037,0002,004,0002,330,624
3Jul 13, 2021 19:565,652547,939,70315,071,0003,014,0002,330,624
4Jul 13, 2021 19:565,665541,928,72215,106,0003,021,0002,330,624
5Jul 13, 2021 19:565,666541,526,10017,123,0001,007,0002,330,624
6Jul 13, 2021 19:565,672542,156,13016,133,0002,016,0002,531,328
7Jul 13, 2021 19:565,678541,268,76815,140,0003,028,0002,301,952
8Jul 13, 2021 19:565,689580,278,17918,206,34802,252,800
9Jul 13, 2021 19:565,691543,029,25616,189,0002,023,0002,330,624
10Jul 13, 2021 19:565,706538,473,01415,215,0003,043,0002,334,720
11Jul 13, 2021 19:565,707576,002,41518,262,47602,220,032
12Jul 13, 2021 19:565,734576,657,88118,349,35202,256,896