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 listAug 6, 2024 22:32zielajzielajScore: 4,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 22:324,64139,886,49513,862,000990,0002,281,472
2Aug 6, 2024 22:324,64433,446,12412,881,0001,981,0002,289,664
3Aug 6, 2024 22:324,65139,481,72113,890,000992,0002,277,376
4Aug 6, 2024 22:324,65732,061,80012,915,0001,987,0002,289,664
5Aug 6, 2024 22:324,66838,801,22312,946,0001,991,0002,375,680
6Aug 6, 2024 22:324,67636,966,69512,967,0001,995,0002,289,664
7Aug 6, 2024 22:324,67938,097,65612,976,0001,996,0002,289,664
8Aug 6, 2024 22:324,68538,399,99013,994,000999,0002,367,488
9Aug 6, 2024 22:324,69232,646,60913,013,0002,002,0002,273,280
10Aug 6, 2024 22:324,853115,425,45215,529,11102,260,992
11Aug 6, 2024 22:324,85765,728,88015,543,24502,179,072
12Aug 6, 2024 22:324,90792,287,58315,701,61502,183,168