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 8, 2024 21:34AndreyTSAndreyTSScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:345,26847,616,26114,873,0001,983,0002,289,664
2Jun 8, 2024 21:345,26841,017,64914,876,0001,983,0002,289,664
3Jun 8, 2024 21:345,27042,971,41915,873,000992,0002,289,664
4Jun 8, 2024 21:345,27341,697,19014,890,0001,985,0002,289,664
5Jun 8, 2024 21:345,27448,014,71514,891,0001,985,0002,289,664
6Jun 8, 2024 21:345,27438,251,26914,892,0001,985,0002,273,280
7Jun 8, 2024 21:345,29635,250,67814,954,0001,993,0002,289,664
8Jun 8, 2024 21:345,34343,755,07315,087,0002,011,0002,289,664
9Jun 8, 2024 21:345,34647,416,38616,100,0001,006,0002,355,200
10Jun 8, 2024 21:345,52461,233,58817,678,05002,310,144
11Jun 8, 2024 21:345,54073,045,84417,727,58902,297,856
12Jun 8, 2024 21:345,563114,763,34117,803,10702,174,976