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 listAug 4, 2024 22:17zielajzielajScore: 5,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 22:175,44743,974,93916,405,0001,025,0002,289,664
2Aug 4, 2024 22:175,45240,678,45216,420,0001,026,0002,289,664
3Aug 4, 2024 22:175,45540,268,65316,429,0001,026,0002,289,664
4Aug 4, 2024 22:175,46239,225,80816,449,0001,028,0002,273,280
5Aug 4, 2024 22:175,46643,154,22516,463,0001,028,0002,289,664
6Aug 4, 2024 22:175,47345,309,10617,514,00002,289,664
7Aug 4, 2024 22:175,47741,209,59516,496,0001,031,0002,523,136
8Aug 4, 2024 22:175,49643,325,75716,552,0001,034,0002,289,664
9Aug 4, 2024 22:175,50842,980,69114,687,0002,937,0002,289,664
10Aug 4, 2024 22:175,70284,572,24318,245,91402,179,072
11Aug 4, 2024 22:175,70984,295,77618,267,97502,301,952
12Aug 4, 2024 22:175,73494,379,62718,348,74502,297,856