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 listJun 3, 2021 16:26Yuriy LyfenkoYuriy LyfenkoScore: 5,050Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:265,01532,566,17414,042,0002,006,0002,281,472
2Jun 3, 2021 16:265,02934,038,46015,089,0001,005,0002,412,544
3Jun 3, 2021 16:265,03135,738,76915,092,0001,006,0002,404,352
4Jun 3, 2021 16:265,03932,123,81815,119,0001,007,0002,281,472
5Jun 3, 2021 16:265,04333,674,86615,131,0001,008,0002,404,352
6Jun 3, 2021 16:265,04935,618,15414,139,0002,019,0002,404,352
7Jun 3, 2021 16:265,05033,111,68614,141,0002,020,0002,392,064
8Jun 3, 2021 16:265,05337,007,17214,147,0002,021,0002,281,472
9Jun 3, 2021 16:265,06337,926,29314,177,0002,025,0002,408,448
10Jun 3, 2021 16:265,202107,409,02016,646,48602,285,568
11Jun 3, 2021 16:265,22360,245,69416,714,17102,289,664
12Jun 3, 2021 16:265,234104,408,07816,748,11302,293,760