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 10:42Andrew MoonAndrew MoonScore: 5,425Success
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 10:425,40339,421,90616,272,0001,017,0002,265,088
2Jul 8, 2023 10:425,41038,775,71515,276,0002,036,0002,265,088
3Jul 8, 2023 10:425,41441,292,46316,307,0001,019,0002,265,088
4Jul 8, 2023 10:425,41739,743,55317,333,00002,396,160
5Jul 8, 2023 10:425,41744,249,30515,294,0002,039,0002,387,968
6Jul 8, 2023 10:425,42142,242,35117,348,00002,392,064
7Jul 8, 2023 10:425,42542,479,18416,340,0001,021,0002,392,064
8Jul 8, 2023 10:425,43943,320,20017,405,00002,265,088
9Jul 8, 2023 10:425,44443,235,74717,422,00002,502,656
10Jul 8, 2023 10:425,55893,489,34617,786,01502,277,376
11Jul 8, 2023 10:425,57086,727,45917,822,76902,277,376
12Jul 8, 2023 10:425,59477,346,63917,900,21902,281,472