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:17Tejas G.Tejas G.Score: 5,899Success
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:175,84847,199,36518,714,00002,531,328
2Apr 10, 2024 07:175,84944,918,89717,678,0001,039,0002,289,664
3Apr 10, 2024 07:175,89045,436,98317,856,000992,0002,289,664
4Apr 10, 2024 07:175,89043,321,18117,857,000992,0002,269,184
5Apr 10, 2024 07:175,89840,348,22216,888,0001,986,0002,265,088
6Apr 10, 2024 07:175,89944,420,11416,891,0001,987,0002,289,664
7Apr 10, 2024 07:175,89937,739,29317,885,000993,0002,277,376
8Apr 10, 2024 07:175,90245,188,21816,899,0001,988,0002,289,664
9Apr 10, 2024 07:175,91849,164,07716,945,0001,993,0002,289,664
10Apr 10, 2024 07:176,03294,364,36319,301,35402,306,048
11Apr 10, 2024 07:176,06881,040,99619,417,05902,252,800
12Apr 10, 2024 07:176,07279,467,19719,430,83202,301,952