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:29BenBenScore: 5,437Success
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:295,40839,980,10216,287,0001,017,0002,265,088
2Jul 30, 2024 03:295,41535,339,40216,308,0001,019,0002,400,256
3Jul 30, 2024 03:295,41739,087,67016,316,0001,019,0002,265,088
4Jul 30, 2024 03:295,42039,450,11317,344,00002,383,872
5Jul 30, 2024 03:295,42741,003,69317,367,00002,392,064
6Jul 30, 2024 03:295,43543,835,19416,369,0001,023,0002,387,968
7Jul 30, 2024 03:295,43743,098,77317,399,00002,265,088
8Jul 30, 2024 03:295,43935,574,97716,382,0001,023,0002,527,232
9Jul 30, 2024 03:295,44243,740,70816,389,0001,024,0002,265,088
10Jul 30, 2024 03:295,63985,992,73018,044,70902,244,608
11Jul 30, 2024 03:295,65565,470,31918,097,00002,285,568
12Jul 30, 2024 03:295,679106,480,80818,172,58602,277,376