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 listMay 29, 2021 15:58Dmitry DolgopolovDmitry DolgopolovScore: 5,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 15:585,19438,669,53715,584,0001,038,0002,445,312
2May 29, 2021 15:585,20035,563,13615,601,0001,040,0002,273,280
3May 29, 2021 15:585,20747,169,11715,622,0001,041,0002,535,424
4May 29, 2021 15:585,21032,818,32215,630,0001,042,0002,535,424
5May 29, 2021 15:585,21141,964,41915,632,0001,042,0002,441,216
6May 29, 2021 15:585,21538,593,22515,646,0001,043,0002,441,216
7May 29, 2021 15:585,22144,925,51415,664,0001,044,0002,273,280
8May 29, 2021 15:585,22343,934,72015,668,0001,044,0002,535,424
9May 29, 2021 15:585,22542,002,13815,676,0001,045,0002,535,424
10May 29, 2021 15:585,41875,066,48117,338,47002,203,648
11May 29, 2021 15:585,43275,067,21617,382,15002,207,744
12May 29, 2021 15:585,44589,428,20617,423,79702,191,360