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 07:53BenBenScore: 4,642Success
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 07:534,57930,782,31013,607,0001,046,0002,387,968
2Jul 28, 2024 07:534,58231,125,95913,616,0001,047,0002,265,088
3Jul 28, 2024 07:534,60234,955,96713,674,0001,051,0002,387,968
4Jul 28, 2024 07:534,60429,157,23114,732,00002,387,968
5Jul 28, 2024 07:534,61040,743,50614,752,00002,392,064
6Jul 28, 2024 07:534,63531,740,85912,856,0001,977,0002,387,968
7Jul 28, 2024 07:534,64248,616,44212,875,0001,980,0002,265,088
8Jul 28, 2024 07:534,64331,682,14812,878,0001,981,0002,383,872
9Jul 28, 2024 07:534,64633,411,42814,867,00002,265,088
10Jul 28, 2024 07:534,86690,039,20415,571,00402,273,280
11Jul 28, 2024 07:534,87092,708,98615,584,38702,281,472
12Jul 28, 2024 07:534,87686,006,39815,604,10202,285,568