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 30, 2024 03:52BenBenScore: 5,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:525,58147,589,63916,866,000992,0002,396,160
2Jul 30, 2024 03:525,58350,527,14317,866,00002,265,088
3Jul 30, 2024 03:525,59137,410,78615,903,0001,987,0002,383,872
4Jul 30, 2024 03:525,59544,530,73916,910,000994,0002,392,064
5Jul 30, 2024 03:525,60043,985,71316,926,000995,0002,265,088
6Jul 30, 2024 03:525,60443,860,52316,937,000996,0002,265,088
7Jul 30, 2024 03:525,60545,606,11315,943,0001,992,0002,379,776
8Jul 30, 2024 03:525,61849,252,74816,981,000998,0002,506,752
9Jul 30, 2024 03:525,62746,318,28116,007,0002,000,0002,265,088
10Jul 30, 2024 03:525,80398,673,97118,570,00502,289,664
11Jul 30, 2024 03:525,84189,110,95818,690,89002,281,472
12Jul 30, 2024 03:525,85792,517,77818,743,87302,281,472