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 15, 2024 14:34kytanskytansScore: 4,541Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:344,48339,963,17714,346,00002,277,376
2Jul 15, 2024 14:344,50029,567,73714,399,00002,506,752
3Jul 15, 2024 14:344,50229,864,42814,406,00002,506,752
4Jul 15, 2024 14:344,50535,761,96014,417,00002,498,560
5Jul 15, 2024 14:344,50733,346,80914,423,00002,506,752
6Jul 15, 2024 14:344,52529,305,34514,479,00002,269,184
7Jul 15, 2024 14:344,54133,895,96914,531,00002,506,752
8Jul 15, 2024 14:344,54433,844,07114,540,00002,502,656
9Jul 15, 2024 14:344,54735,405,00014,551,00002,277,376
10Jul 15, 2024 14:344,81464,980,63715,403,99302,371,584
11Jul 15, 2024 14:344,85172,049,79315,522,48102,256,896
12Jul 15, 2024 14:344,86860,895,98715,578,66802,260,992