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 21:34Joad NacerJoad NacerScore: 5,268Success
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 21:345,18339,779,38915,548,0001,036,0002,289,664
2Apr 17, 2024 21:345,18445,711,92215,552,0001,036,0002,289,664
3Apr 17, 2024 21:345,19247,394,74015,576,0001,038,0002,289,664
4Apr 17, 2024 21:345,21543,706,78316,688,00002,289,664
5Apr 17, 2024 21:345,21646,350,84115,647,0001,043,0002,289,664
6Apr 17, 2024 21:345,22541,205,22415,675,0001,045,0002,289,664
7Apr 17, 2024 21:345,26847,728,10715,868,000991,0002,367,488
8Apr 17, 2024 21:345,27034,214,11514,880,0001,984,0002,289,664
9Apr 17, 2024 21:345,27943,695,54614,907,0001,987,0002,523,136
10Apr 17, 2024 21:345,42479,545,92717,358,20502,306,048
11Apr 17, 2024 21:345,43882,475,81117,402,58702,301,952
12Apr 17, 2024 21:345,48886,401,35617,562,65802,297,856