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 30, 2024 03:13BenBenScore: 5,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:135,03343,824,74715,098,0001,006,0002,265,088
2Jul 30, 2024 03:135,04232,335,32215,125,0001,008,0002,265,088
3Jul 30, 2024 03:135,05145,246,38115,153,0001,010,0002,265,088
4Jul 30, 2024 03:135,05132,974,97515,154,0001,010,0002,265,088
5Jul 30, 2024 03:135,05341,676,76215,161,0001,010,0002,379,776
6Jul 30, 2024 03:135,05952,656,85514,165,0002,023,0002,527,232
7Jul 30, 2024 03:135,07130,854,09414,199,0002,028,0002,383,872
8Jul 30, 2024 03:135,07833,354,13815,234,0001,015,0002,265,088
9Jul 30, 2024 03:135,08836,281,01115,265,0001,017,0002,265,088
10Jul 30, 2024 03:135,186104,972,77816,594,59702,281,472
11Jul 30, 2024 03:135,25083,296,78716,800,97702,277,376
12Jul 30, 2024 03:135,30586,922,21116,975,76902,285,568