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 13:02BenBenScore: 4,551Success
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 13:024,52129,078,58613,434,0001,033,0002,392,064
2Jul 28, 2024 13:024,52530,145,52614,481,00002,392,064
3Jul 28, 2024 13:024,53534,272,48014,513,00002,387,968
4Jul 28, 2024 13:024,54539,197,53914,544,00002,387,968
5Jul 28, 2024 13:024,54830,725,38913,515,0001,039,0002,392,064
6Jul 28, 2024 13:024,54831,532,47813,515,0001,039,0002,265,088
7Jul 28, 2024 13:024,55133,394,95414,563,00002,265,088
8Jul 28, 2024 13:024,55830,551,55013,543,0001,041,0002,396,160
9Jul 28, 2024 13:024,58230,834,76513,615,0001,047,0002,383,872
10Jul 28, 2024 13:024,78196,963,48015,298,94802,281,472
11Jul 28, 2024 13:024,80692,809,89815,378,42402,293,760
12Jul 28, 2024 13:024,81387,260,79015,400,20602,285,568