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 listJan 28, 2025 16:36Oleg KovalovOleg KovalovError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 16:3400000Error: expected "977180 ", got "3908720 "
2Jan 28, 2025 16:365,89348,487,73815,879,0002,977,0002,523,136
3Jan 28, 2025 16:365,90149,096,88415,903,0002,981,0002,367,488
4Jan 28, 2025 16:365,90350,852,37916,902,0001,988,0002,367,488
5Jan 28, 2025 16:365,91447,993,39115,937,0002,988,0002,367,488
6Jan 28, 2025 16:365,91446,554,22316,933,0001,992,0002,367,488
7Jan 28, 2025 16:365,92847,400,66615,973,0002,995,0002,400,256
8Jan 28, 2025 16:365,95047,387,37117,036,0002,004,0002,367,488
9Jan 28, 2025 16:365,95535,047,22116,047,0003,008,0002,396,160
10Jan 28, 2025 16:365,97843,481,68018,123,0001,006,0002,396,160