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 17, 2024 00:34Joad NacerJoad NacerScore: 5,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 00:345,43843,017,66616,379,0001,023,0002,289,664
2Apr 17, 2024 00:345,44753,408,95716,405,0001,025,0002,269,184
3Apr 17, 2024 00:345,44849,519,35716,408,0001,025,0002,281,472
4Apr 17, 2024 00:345,45141,667,68516,417,0001,026,0002,289,664
5Apr 17, 2024 00:345,46835,682,55516,470,0001,029,0002,269,184
6Apr 17, 2024 00:345,46941,608,22716,473,0001,029,0002,289,664
7Apr 17, 2024 00:345,48040,181,04417,537,00002,277,376
8Apr 17, 2024 00:345,48348,114,88816,515,0001,032,0002,289,664
9Apr 17, 2024 00:345,49844,092,14116,558,0001,034,0002,289,664
10Apr 17, 2024 00:345,65379,672,00518,090,36902,297,856
11Apr 17, 2024 00:345,68679,966,75718,195,17602,293,760
12Apr 17, 2024 00:345,73791,733,24618,357,03802,174,976