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:38BenBenScore: 4,553Success
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:384,53335,348,73213,470,0001,036,0002,265,088
2Jul 28, 2024 08:384,53831,657,84514,520,00002,383,872
3Jul 28, 2024 08:384,54336,838,39414,538,00002,265,088
4Jul 28, 2024 08:384,54329,505,49913,500,0001,038,0002,265,088
5Jul 28, 2024 08:384,54836,975,33514,555,00002,387,968
6Jul 28, 2024 08:384,55139,336,69713,524,0001,040,0002,265,088
7Jul 28, 2024 08:384,55331,509,32313,531,0001,040,0002,510,848
8Jul 28, 2024 08:384,55632,388,32614,579,00002,531,328
9Jul 28, 2024 08:384,55839,937,27814,585,00002,265,088
10Jul 28, 2024 08:384,79999,114,99315,357,63002,285,568
11Jul 28, 2024 08:384,80894,825,20315,385,98102,277,376
12Jul 28, 2024 08:384,81062,688,47315,391,16802,285,568