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 listJul 11, 2023 05:57Andrew MoonAndrew MoonScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 05:575,30342,414,69415,972,000998,0002,265,088
2Jul 11, 2023 05:575,31350,704,62815,001,0002,000,0002,392,064
3Jul 11, 2023 05:575,31342,643,85216,003,0001,000,0002,265,088
4Jul 11, 2023 05:575,31541,342,03515,008,0002,001,0002,265,088
5Jul 11, 2023 05:575,31848,784,60815,017,0002,002,0002,265,088
6Jul 11, 2023 05:575,32346,335,11316,033,0001,002,0002,527,232
7Jul 11, 2023 05:575,33145,715,44916,057,0001,003,0002,506,752
8Jul 11, 2023 05:575,33534,659,98516,068,0001,004,0002,523,136
9Jul 11, 2023 05:575,36944,049,06915,160,0002,021,0002,265,088
10Jul 11, 2023 05:575,51475,020,32317,646,19702,281,472
11Jul 11, 2023 05:575,51988,331,39217,661,56802,285,568
12Jul 11, 2023 05:575,53794,272,75717,719,26302,285,568