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 22:06Ulyanov AlekseyUlyanov AlekseyScore: 5,521Success
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 22:065,47439,272,12916,486,0001,030,0002,289,664
2Jun 19, 2023 22:065,48538,182,94916,521,0001,032,0002,371,584
3Jun 19, 2023 22:065,49242,825,20616,541,0001,033,0002,289,664
4Jun 19, 2023 22:065,50249,605,84116,572,0001,035,0002,273,280
5Jun 19, 2023 22:065,50534,776,78316,581,0001,036,0002,289,664
6Jun 19, 2023 22:065,50948,061,35316,593,0001,037,0002,277,376
7Jun 19, 2023 22:065,52146,135,53517,666,00002,289,664
8Jun 19, 2023 22:065,52846,912,44916,651,0001,040,0002,289,664
9Jun 19, 2023 22:065,57547,528,29817,841,00002,277,376
10Jun 19, 2023 22:065,66286,457,16718,119,99502,301,952
11Jun 19, 2023 22:065,66560,902,75518,127,21802,301,952
12Jun 19, 2023 22:065,668106,581,56618,136,74602,301,952