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 23, 2022 01:09Robert BurkeRobert BurkeScore: 4,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 01:094,64545,687,51014,863,00002,281,472
2Jul 23, 2022 01:094,64833,539,20512,890,0001,983,0002,433,024
3Jul 23, 2022 01:094,65139,681,85513,891,000992,0002,445,312
4Jul 23, 2022 01:094,65231,193,54614,885,00002,281,472
5Jul 23, 2022 01:094,65831,536,07314,904,00002,433,024
6Jul 23, 2022 01:094,66138,704,48513,920,000994,0002,281,472
7Jul 23, 2022 01:094,66934,169,39413,945,000996,0002,281,472
8Jul 23, 2022 01:094,67135,964,82113,951,000996,0002,433,024
9Jul 23, 2022 01:094,69338,615,77813,016,0002,002,0002,281,472
10Jul 23, 2022 01:094,85177,404,37015,524,20102,183,168
11Jul 23, 2022 01:094,90074,384,06015,678,77402,187,264
12Jul 23, 2022 01:094,91490,404,38815,723,56902,183,168