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 28, 2024 08:29BenBenScore: 4,606Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:294,58036,130,04413,610,0001,046,0002,265,088
2Jul 28, 2024 08:294,58431,969,14613,623,0001,047,0002,265,088
3Jul 28, 2024 08:294,59030,862,98613,639,0001,049,0002,265,088
4Jul 28, 2024 08:294,59535,754,01414,703,00002,527,232
5Jul 28, 2024 08:294,59633,596,93114,707,00002,265,088
6Jul 28, 2024 08:294,59731,269,93913,661,0001,050,0002,265,088
7Jul 28, 2024 08:294,60636,834,55913,686,0001,052,0002,383,872
8Jul 28, 2024 08:294,61740,733,15012,805,0001,970,0002,265,088
9Jul 28, 2024 08:294,64943,409,58512,894,0001,983,0002,265,088
10Jul 28, 2024 08:294,84890,802,29915,513,34602,273,280
11Jul 28, 2024 08:294,86276,929,64815,558,05302,277,376
12Jul 28, 2024 08:294,87779,166,08215,605,75802,281,472