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 7, 2024 02:54zielajzielajScore: 4,381Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 02:544,36431,496,88012,967,000997,0002,535,424
2Aug 7, 2024 02:544,36731,932,71412,976,000998,0002,428,928
3Aug 7, 2024 02:544,36831,266,82811,982,0001,997,0002,273,280
4Aug 7, 2024 02:544,37430,659,57112,997,000999,0002,428,928
5Aug 7, 2024 02:544,37827,299,51613,008,0001,000,0002,433,024
6Aug 7, 2024 02:544,38030,641,94612,014,0002,002,0002,273,280
7Aug 7, 2024 02:544,38129,830,87512,017,0002,002,0002,535,424
8Aug 7, 2024 02:544,38730,886,71212,033,0002,005,0002,514,944
9Aug 7, 2024 02:544,38935,108,68714,044,00002,273,280
10Aug 7, 2024 02:544,64366,811,21514,856,93302,318,336
11Aug 7, 2024 02:544,64492,133,06214,859,51902,256,896
12Aug 7, 2024 02:544,65388,279,02314,888,62802,187,264