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:34BenBenScore: 5,072Success
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:345,02840,275,90414,080,0002,011,0002,392,064
2Jul 28, 2024 08:345,03332,755,43114,094,0002,013,0002,392,064
3Jul 28, 2024 08:345,03834,518,75715,115,0001,007,0002,387,968
4Jul 28, 2024 08:345,04233,208,55014,118,0002,016,0002,265,088
5Jul 28, 2024 08:345,05945,781,45614,165,0002,023,0002,265,088
6Jul 28, 2024 08:345,06441,076,73415,193,0001,012,0002,510,848
7Jul 28, 2024 08:345,07248,698,34214,202,0002,028,0002,265,088
8Jul 28, 2024 08:345,08330,812,93714,234,0002,033,0002,506,752
9Jul 28, 2024 08:345,08843,880,64615,264,0001,017,0002,383,872
10Jul 28, 2024 08:345,19996,938,89116,635,75702,285,568
11Jul 28, 2024 08:345,21385,827,19516,683,15802,285,568
12Jul 28, 2024 08:345,24783,945,33016,789,91602,285,568