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 listJun 12, 2024 23:33джулисджулисScore: 5,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:335,28841,061,24915,928,000995,0002,371,584
2Jun 12, 2024 23:335,29147,100,85615,935,000995,0002,293,760
3Jun 12, 2024 23:335,29139,593,13615,936,000996,0002,363,392
4Jun 12, 2024 23:335,29333,757,34114,945,0001,992,0002,293,760
5Jun 12, 2024 23:335,30446,830,61315,976,000998,0002,367,488
6Jun 12, 2024 23:335,30843,522,85314,986,0001,998,0002,293,760
7Jun 12, 2024 23:335,31142,183,69214,996,0001,999,0002,293,760
8Jun 12, 2024 23:335,32545,066,58416,038,0001,002,0002,478,080
9Jun 12, 2024 23:335,35943,042,65615,132,0002,017,0002,359,296
10Jun 12, 2024 23:335,530108,157,28717,694,59102,244,608
11Jun 12, 2024 23:335,57462,935,55217,835,71502,240,512
12Jun 12, 2024 23:335,57679,803,58817,843,59902,240,512