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 30, 2024 14:06AnSaAnSaScore: 4,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 14:064,68032,709,60212,980,0001,997,0002,531,328
2Jun 30, 2024 14:064,68636,720,53312,996,0001,999,0002,494,464
3Jun 30, 2024 14:064,68935,441,38813,006,0002,000,0002,490,368
4Jun 30, 2024 14:064,69430,293,36914,020,0001,001,0002,494,464
5Jun 30, 2024 14:064,70533,203,70613,048,0002,007,0002,494,464
6Jun 30, 2024 14:064,71428,484,00313,075,0002,011,0002,269,184
7Jun 30, 2024 14:064,72741,811,75114,117,0001,008,0002,490,368
8Jun 30, 2024 14:064,72831,530,77614,123,0001,008,0002,531,328
9Jun 30, 2024 14:064,73634,025,67714,144,0001,010,0002,494,464
10Jun 30, 2024 14:064,95869,759,07515,864,96702,375,680
11Jun 30, 2024 14:064,96596,402,65615,888,36502,244,608
12Jun 30, 2024 14:064,97987,268,50615,934,06802,383,872