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 16, 2024 23:53Joad NacerJoad NacerScore: 5,610Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 23:535,59842,280,52715,925,0001,990,0002,269,184
2Apr 16, 2024 23:535,60040,417,42315,928,0001,991,0002,289,664
3Apr 16, 2024 23:535,60140,789,69416,927,000995,0002,289,664
4Apr 16, 2024 23:535,60338,653,36315,936,0001,992,0002,289,664
5Apr 16, 2024 23:535,60642,143,02815,947,0001,993,0002,289,664
6Apr 16, 2024 23:535,60634,018,30615,947,0001,993,0002,289,664
7Apr 16, 2024 23:535,61036,678,52116,955,000997,0002,273,280
8Apr 16, 2024 23:535,61144,027,44415,960,0001,995,0002,289,664
9Apr 16, 2024 23:535,63244,346,97216,021,0002,002,0002,269,184
10Apr 16, 2024 23:535,69872,320,99818,235,16202,179,072
11Apr 16, 2024 23:535,71586,728,92618,287,70902,179,072
12Apr 16, 2024 23:535,72478,364,95018,316,36602,301,952