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 19, 2023 21:56Ulyanov AlekseyUlyanov AlekseyScore: 5,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:565,45938,328,43216,441,0001,027,0002,289,664
2Jun 19, 2023 21:565,48245,715,69517,541,00002,273,280
3Jun 19, 2023 21:565,48633,182,23916,524,0001,032,0002,289,664
4Jun 19, 2023 21:565,49846,887,77016,559,0001,034,0002,269,184
5Jun 19, 2023 21:565,50238,706,07216,572,0001,035,0002,273,280
6Jun 19, 2023 21:565,51042,623,97816,594,0001,037,0002,273,280
7Jun 19, 2023 21:565,52340,479,62517,674,00002,273,280
8Jun 19, 2023 21:565,52852,834,20816,651,0001,040,0002,289,664
9Jun 19, 2023 21:565,53945,072,57016,682,0001,042,0002,289,664
10Jun 19, 2023 21:565,65363,534,60918,088,59702,301,952
11Jun 19, 2023 21:565,687101,821,91218,197,57302,301,952
12Jun 19, 2023 21:565,69486,114,28018,222,06502,297,856