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 30, 2024 03:20BenBenScore: 4,546Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:204,52633,866,27013,449,0001,034,0002,396,160
2Jul 30, 2024 03:204,53339,111,59113,471,0001,036,0002,265,088
3Jul 30, 2024 03:204,53429,955,14414,510,00002,396,160
4Jul 30, 2024 03:204,53435,568,96513,474,0001,036,0002,269,184
5Jul 30, 2024 03:204,53532,633,85713,476,0001,036,0002,265,088
6Jul 30, 2024 03:204,54329,026,44014,538,00002,265,088
7Jul 30, 2024 03:204,54635,447,19713,509,0001,039,0002,387,968
8Jul 30, 2024 03:204,55431,537,10514,574,00002,527,232
9Jul 30, 2024 03:204,56240,500,03314,598,00002,265,088
10Jul 30, 2024 03:204,76985,798,40415,259,80802,285,568
11Jul 30, 2024 03:204,82386,679,05215,433,60902,273,280
12Jul 30, 2024 03:204,85083,839,05115,520,67602,289,664