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:02AndreyTSAndreyTSScore: 5,503Success
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:025,47238,504,78816,480,0001,030,0002,387,968
2Jun 8, 2024 21:025,47439,439,88216,487,0001,030,0002,523,136
3Jun 8, 2024 21:025,48143,600,71216,508,0001,031,0002,289,664
4Jun 8, 2024 21:025,48239,596,32217,541,00002,289,664
5Jun 8, 2024 21:025,49538,672,48916,549,0001,034,0002,289,664
6Jun 8, 2024 21:025,49835,667,32116,615,000977,0002,273,280
7Jun 8, 2024 21:025,50344,443,57216,573,0001,035,0002,289,664
8Jun 8, 2024 21:025,53535,039,71816,671,0001,041,0002,519,040
9Jun 8, 2024 21:025,58544,807,91115,886,0001,985,0002,359,296
10Jun 8, 2024 21:025,71180,517,82718,276,51702,174,976
11Jun 8, 2024 21:025,73888,141,05918,360,56102,174,976
12Jun 8, 2024 21:025,75573,562,71318,414,84602,301,952