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 31, 2024 23:02zielajzielajScore: 368,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 19:39367,1771,203,778,5131,174,965,00002,265,088
2Aug 31, 2024 23:02367,4471,199,704,6481,174,833,000998,0002,527,232
3Aug 31, 2024 19:39368,2331,206,575,9511,177,349,000997,0002,527,232
4Aug 31, 2024 23:02368,7681,205,599,6111,179,059,000997,0002,265,088
5Aug 31, 2024 23:02368,8451,204,711,3331,180,305,00002,527,232
6Aug 31, 2024 19:39369,0871,210,375,7321,180,081,000997,0002,527,232