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 8, 2023 23:39Andrew MoonAndrew MoonScore: 5,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 23:395,74046,246,04417,349,0001,020,0002,396,160
2Jul 8, 2023 23:395,74943,522,98417,375,0001,022,0002,387,968
3Jul 8, 2023 23:395,75740,296,78017,399,0001,023,0002,265,088
4Jul 8, 2023 23:395,76244,337,49317,415,0001,024,0002,265,088
5Jul 8, 2023 23:395,77341,051,11217,449,0001,026,0002,392,064
6Jul 8, 2023 23:395,78144,174,84017,473,0001,027,0002,387,968
7Jul 8, 2023 23:395,79746,987,57617,521,0001,030,0002,265,088
8Jul 8, 2023 23:395,80043,157,67918,559,00002,383,872
9Jul 8, 2023 23:395,83545,751,49717,635,0001,037,0002,265,088
10Jul 8, 2023 23:395,97094,388,45519,103,09902,277,376
11Jul 8, 2023 23:395,98987,647,09019,163,73002,285,568
12Jul 8, 2023 23:396,01189,293,84819,234,19702,281,472