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 17, 2023 22:05Ulyanov AlekseyUlyanov AlekseyScore: 5,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:055,67742,504,59116,148,0002,018,0002,269,184
2Jun 17, 2023 22:055,67841,002,61916,151,0002,018,0002,269,184
3Jun 17, 2023 22:055,68341,096,16916,167,0002,020,0002,273,280
4Jun 17, 2023 22:055,71040,576,92516,243,0002,030,0002,289,664
5Jun 17, 2023 22:055,71340,659,03116,251,0002,031,0002,289,664
6Jun 17, 2023 22:055,72042,130,12216,270,0002,033,0002,289,664
7Jun 17, 2023 22:055,73341,608,72216,308,0002,038,0002,289,664
8Jun 17, 2023 22:055,73452,172,23517,329,0001,019,0002,289,664
9Jun 17, 2023 22:055,73840,815,19616,323,0002,040,0002,531,328
10Jun 17, 2023 22:055,890100,294,94718,847,08502,289,664
11Jun 17, 2023 22:055,90259,517,19018,885,47802,289,664
12Jun 17, 2023 22:055,91682,289,41518,932,13602,293,760