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, 2023 16:43Alexander MonakovAlexander MonakovScore: 4,703Success
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, 2023 16:434,66530,138,79912,938,0001,990,0002,486,272
2Jun 30, 2023 16:434,67929,073,57213,976,000998,0002,531,328
3Jun 30, 2023 16:434,68133,125,89613,980,000998,0002,482,176
4Jun 30, 2023 16:434,69335,256,67314,015,0001,001,0002,490,368
5Jun 30, 2023 16:434,70029,443,54314,038,0001,002,0002,269,184
6Jun 30, 2023 16:434,70132,924,05414,040,0001,002,0002,482,176
7Jun 30, 2023 16:434,70328,008,25613,043,0002,006,0002,531,328
8Jun 30, 2023 16:434,71235,836,39714,074,0001,005,0002,478,080
9Jun 30, 2023 16:434,92489,838,80215,756,97602,248,704
10Jun 30, 2023 16:434,93495,004,22815,787,35102,248,704
11Jun 30, 2023 16:434,94788,014,43615,831,94902,236,416
12Jun 30, 2023 16:437,45053,875,42212,913,00010,926,0002,326,528