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 listFeb 27, 2024 20:54Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 20:545,46290,776,38317,478,36102,293,760
2Feb 27, 2024 19:345,47088,324,08117,505,34702,256,896
3Feb 27, 2024 20:545,47185,042,83717,508,28102,293,760
4Feb 27, 2024 19:345,52081,592,65717,663,88302,293,760
5Feb 27, 2024 20:545,52297,049,18617,671,91002,289,664
6Feb 27, 2024 19:345,54496,447,58217,740,78802,289,664
7Feb 27, 2024 20:545,58043,260,08316,865,000992,0002,281,472
8Feb 27, 2024 19:345,58146,073,67115,874,0001,984,0002,281,472
9Feb 27, 2024 19:345,58151,730,69315,874,0001,984,0002,396,160
10Feb 27, 2024 20:545,58246,894,84716,871,000992,0002,281,472
11Feb 27, 2024 19:345,58244,032,86916,871,000992,0002,392,064
12Feb 27, 2024 20:545,58644,959,94315,890,0001,986,0002,404,352
13Feb 27, 2024 19:345,58637,169,29015,889,0001,986,0002,400,256
14Feb 27, 2024 19:345,58838,992,92515,895,0001,986,0002,416,640
15Feb 27, 2024 20:545,58939,040,75816,893,000993,0002,277,376
16Feb 27, 2024 20:545,59050,109,72715,901,0001,987,0002,404,352
17Feb 27, 2024 20:545,59241,505,32816,899,000994,0002,408,448
18Feb 27, 2024 19:345,59633,470,84816,912,000994,0002,281,472
19Feb 27, 2024 19:345,60436,759,44116,936,000996,0002,281,472
20Feb 27, 2024 19:345,60443,887,80815,941,0001,992,0002,281,472
21Feb 27, 2024 20:545,60634,079,18415,945,0001,993,0002,281,472
22Feb 27, 2024 20:545,60739,934,55715,950,0001,993,0002,273,280
23Feb 27, 2024 19:345,61540,278,18515,972,0001,996,0002,281,472
24Feb 27, 2024 20:545,62339,496,28115,993,0001,999,0002,281,472