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 4, 2024 22:14zielajzielajScore: 4,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 22:144,67936,127,76512,976,0001,996,0002,289,664
2Aug 4, 2024 22:144,68336,745,88912,987,0001,998,0002,269,184
3Aug 4, 2024 22:144,68339,134,32413,917,0001,070,0002,289,664
4Aug 4, 2024 22:144,68631,741,25112,997,0001,999,0002,281,472
5Aug 4, 2024 22:144,68833,871,99413,003,0002,000,0002,289,664
6Aug 4, 2024 22:144,69539,126,63913,021,0002,003,0002,289,664
7Aug 4, 2024 22:144,69733,337,02413,026,0002,004,0002,289,664
8Aug 4, 2024 22:144,70636,586,91913,052,0002,008,0002,289,664
9Aug 4, 2024 22:144,71730,548,83614,087,0001,006,0002,281,472
10Aug 4, 2024 22:144,93896,671,10115,801,69002,314,240
11Aug 4, 2024 22:144,93983,205,06815,804,76602,297,856
12Aug 4, 2024 22:144,97988,174,07315,933,12502,301,952