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 29, 2024 06:21Matt StuchlikMatt StuchlikScore: 4,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:214,80733,287,59515,381,00002,269,184
2Jul 29, 2024 06:214,81232,457,49313,346,0002,053,0002,424,832
3Jul 29, 2024 06:214,81338,599,67514,376,0001,026,0002,433,024
4Jul 29, 2024 06:214,82735,209,08814,418,0001,029,0002,420,736
5Jul 29, 2024 06:214,83732,858,37215,477,00002,424,832
6Jul 29, 2024 06:214,83837,591,06513,417,0002,064,0002,269,184
7Jul 29, 2024 06:214,84334,050,33313,431,0002,066,0002,424,832
8Jul 29, 2024 06:214,84935,506,10814,483,0001,034,0002,269,184
9Jul 29, 2024 06:214,85336,052,56914,493,0001,035,0002,428,928
10Jul 29, 2024 06:215,06483,933,39816,206,19602,297,856
11Jul 29, 2024 06:215,06586,362,16016,206,83902,297,856
12Jul 29, 2024 06:215,07479,354,93316,238,04902,318,336