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 10, 2024 07:10Tejas G.Tejas G.Score: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 07:105,84544,319,27217,664,0001,039,0002,273,280
2Apr 10, 2024 07:105,84545,416,29917,665,0001,039,0002,277,376
3Apr 10, 2024 07:105,89645,876,05216,881,0001,986,0002,269,184
4Apr 10, 2024 07:105,89752,771,29516,883,0001,986,0002,289,664
5Apr 10, 2024 07:105,89840,828,39616,886,0001,986,0002,289,664
6Apr 10, 2024 07:105,89956,967,71216,891,0001,987,0002,277,376
7Apr 10, 2024 07:105,90141,248,28816,897,0001,987,0002,277,376
8Apr 10, 2024 07:105,90842,516,93516,917,0001,990,0002,277,376
9Apr 10, 2024 07:105,91543,624,66616,936,0001,992,0002,273,280
10Apr 10, 2024 07:106,07174,865,19219,426,18002,187,264
11Apr 10, 2024 07:106,07291,232,72819,429,08702,183,168
12Apr 10, 2024 07:106,08794,865,88219,477,73302,252,800