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,716Success
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,68233,044,87812,984,0001,997,0002,273,280
2Aug 4, 2024 22:144,68831,203,00013,003,0002,000,0002,289,664
3Aug 4, 2024 22:144,70138,407,77513,037,0002,005,0002,289,664
4Aug 4, 2024 22:144,70531,457,10714,052,0001,003,0002,289,664
5Aug 4, 2024 22:144,70734,088,50114,057,0001,004,0002,281,472
6Aug 4, 2024 22:144,70831,557,89714,063,0001,004,0002,273,280
7Aug 4, 2024 22:144,71638,138,12414,084,0001,006,0002,269,184
8Aug 4, 2024 22:144,73138,479,13713,120,0002,018,0002,277,376
9Aug 4, 2024 22:144,74437,089,75813,156,0002,024,0002,285,568
10Aug 4, 2024 22:144,94971,139,56215,838,23302,297,856
11Aug 4, 2024 22:144,95097,978,81515,840,38102,301,952
12Aug 4, 2024 22:144,96891,222,75915,896,33102,174,976