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 listAug 9, 2024 22:49zielajzielajScore: 4,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 22:494,27834,537,52012,638,0001,053,0002,273,280
2Aug 9, 2024 22:494,28434,696,68412,654,0001,054,0002,535,424
3Aug 9, 2024 22:494,28733,555,33812,662,0001,055,0002,273,280
4Aug 9, 2024 22:494,28729,550,09412,664,0001,055,0002,535,424
5Aug 9, 2024 22:494,28930,658,92612,670,0001,055,0002,273,280
6Aug 9, 2024 22:494,33643,149,59412,885,000991,0002,273,280
7Aug 9, 2024 22:494,33639,099,40812,885,000991,0002,535,424
8Aug 9, 2024 22:494,33728,055,83811,895,0001,982,0002,535,424
9Aug 9, 2024 22:494,33830,970,50512,891,000991,0002,273,280
10Aug 9, 2024 22:494,56489,777,65014,604,34802,330,624
11Aug 9, 2024 22:494,56473,047,22214,605,99002,334,720
12Aug 9, 2024 22:494,57488,300,41214,637,09502,191,360