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 19, 2023 21:33Ulyanov AlekseyUlyanov AlekseyScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:335,51839,166,26816,621,0001,038,0002,269,184
2Jun 19, 2023 21:335,53342,273,69216,664,0001,041,0002,265,088
3Jun 19, 2023 21:335,53741,693,38517,719,00002,531,328
4Jun 19, 2023 21:335,54544,239,01716,701,0001,043,0002,277,376
5Jun 19, 2023 21:335,58034,855,63416,865,000992,0002,289,664
6Jun 19, 2023 21:335,58352,494,27617,864,00002,273,280
7Jun 19, 2023 21:335,58350,571,58915,880,0001,985,0002,289,664
8Jun 19, 2023 21:335,59039,426,87716,895,000993,0002,273,280
9Jun 19, 2023 21:335,59343,100,06715,910,0001,988,0002,269,184
10Jun 19, 2023 21:335,71685,345,73618,292,31602,293,760
11Jun 19, 2023 21:335,72886,137,32218,331,16302,297,856
12Jun 19, 2023 21:335,73664,390,21918,355,98302,293,760