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 listApr 4, 2024 01:57Christopher TarryChristopher TarryScore: 5,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 01:575,83145,040,79718,659,00002,277,376
2Apr 4, 2024 01:575,83445,125,47117,633,0001,037,0002,289,664
3Apr 4, 2024 01:575,83746,668,16217,642,0001,037,0002,277,376
4Apr 4, 2024 01:575,84844,402,08917,675,0001,039,0002,277,376
5Apr 4, 2024 01:575,86641,738,03516,795,0001,975,0002,289,664
6Apr 4, 2024 01:575,89534,571,78716,878,0001,985,0002,277,376
7Apr 4, 2024 01:575,89748,504,44117,876,000993,0002,289,664
8Apr 4, 2024 01:575,90135,820,62417,891,000993,0002,289,664
9Apr 4, 2024 01:575,91846,426,12216,944,0001,993,0002,289,664
10Apr 4, 2024 01:576,065102,356,66719,407,45702,256,896
11Apr 4, 2024 01:576,07291,487,31619,430,78002,293,760
12Apr 4, 2024 01:576,13685,672,82419,634,07102,289,664