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 4, 2024 01:55jeffplaisancejeffplaisanceScore: 5,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 01:555,13740,743,40916,437,00002,277,376
2Aug 4, 2024 01:555,14646,982,40616,467,00002,277,376
3Aug 4, 2024 01:555,15443,177,26916,493,00002,498,560
4Aug 4, 2024 01:555,15632,033,56516,500,00002,494,464
5Aug 4, 2024 01:555,16232,345,66716,518,00002,277,376
6Aug 4, 2024 01:555,16241,508,71116,519,00002,277,376
7Aug 4, 2024 01:555,17344,454,93316,552,00002,502,656
8Aug 4, 2024 01:555,18033,621,17216,576,00002,277,376
9Aug 4, 2024 01:555,18639,264,55316,596,00002,494,464
10Aug 4, 2024 01:555,43281,071,70417,381,48002,236,416
11Aug 4, 2024 01:555,45778,495,13717,462,69802,367,488
12Aug 4, 2024 01:555,47195,872,67517,505,62102,244,608