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 listJan 15, 2024 07:37matsuoka-601matsuoka-601Score: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 07:375,53843,868,68116,678,0001,042,0002,273,280
2Jan 15, 2024 07:375,57344,888,34815,853,0001,981,0002,289,664
3Jan 15, 2024 07:375,57951,463,26217,854,00002,273,280
4Jan 15, 2024 07:375,58146,114,54415,876,0001,984,0002,289,664
5Jan 15, 2024 07:375,58237,471,19415,878,0001,984,0002,285,568
6Jan 15, 2024 07:375,58238,901,27515,879,0001,984,0002,273,280
7Jan 15, 2024 07:375,58639,761,88115,889,0001,986,0002,289,664
8Jan 15, 2024 07:375,58854,260,82216,888,000993,0002,289,664
9Jan 15, 2024 07:375,60341,795,13815,936,0001,992,0002,289,664
10Jan 15, 2024 07:375,62158,190,20517,986,17102,174,976
11Jan 15, 2024 07:375,643106,453,40018,058,82602,183,168
12Jan 15, 2024 07:375,64693,734,34118,065,96402,297,856