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 9, 2024 14:43AndreyTSAndreyTSScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:435,22333,194,55815,671,0001,044,0002,277,376
2Jun 9, 2024 14:435,22437,843,27815,674,0001,044,0002,289,664
3Jun 9, 2024 14:435,25934,636,30914,850,0001,980,0002,289,664
4Jun 9, 2024 14:435,26742,314,25015,864,000991,0002,387,968
5Jun 9, 2024 14:435,27143,089,61715,874,000992,0002,281,472
6Jun 9, 2024 14:435,27143,069,17914,884,0001,984,0002,289,664
7Jun 9, 2024 14:435,27232,645,46516,869,00002,289,664
8Jun 9, 2024 14:435,27636,324,05515,889,000993,0002,289,664
9Jun 9, 2024 14:435,27733,784,67814,900,0001,986,0002,519,040
10Jun 9, 2024 14:435,44283,825,86317,415,10702,297,856
11Jun 9, 2024 14:435,48583,174,21617,552,13502,297,856
12Jun 9, 2024 14:435,49681,559,43917,587,39102,301,952