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 20:10Andrey TsvetkovAndrey TsvetkovScore: 6,003Success
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 20:105,95446,488,54216,046,0003,008,0002,334,720
2Jul 13, 2021 20:105,96048,470,61316,060,0003,011,0002,334,720
3Jul 13, 2021 20:105,96581,084,31119,089,18102,240,512
4Jul 13, 2021 20:105,97247,054,12817,098,0002,011,0002,523,136
5Jul 13, 2021 20:105,98243,399,29516,119,0003,022,0002,334,720
6Jul 13, 2021 20:105,99344,186,89516,150,0003,028,0002,375,680
7Jul 13, 2021 20:106,00344,742,40916,176,0003,033,0002,334,720
8Jul 13, 2021 20:106,00444,229,74516,179,0003,033,0002,334,720
9Jul 13, 2021 20:106,01086,267,50919,233,23402,232,320
10Jul 13, 2021 20:106,01338,965,24016,204,0003,038,0002,514,944
11Jul 13, 2021 20:106,05240,568,58318,347,0001,019,0002,334,720
12Jul 13, 2021 20:106,07778,135,54019,447,06002,232,320