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 01:30zielajzielajScore: 4,650Success
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 01:304,64029,663,46714,847,00002,375,680
2Aug 7, 2024 01:304,64436,601,44812,881,0001,981,0002,265,088
3Aug 7, 2024 01:304,64642,754,92013,877,000991,0002,289,664
4Aug 7, 2024 01:304,64742,480,80313,878,000991,0002,289,664
5Aug 7, 2024 01:304,64729,960,29213,879,000991,0002,281,472
6Aug 7, 2024 01:304,64747,080,67712,889,0001,982,0002,289,664
7Aug 7, 2024 01:304,65031,904,13912,896,0001,984,0002,277,376
8Aug 7, 2024 01:304,65231,042,51513,894,000992,0002,289,664
9Aug 7, 2024 01:304,65432,089,39312,908,0001,985,0002,289,664
10Aug 7, 2024 01:304,852104,884,46615,526,38802,183,168
11Aug 7, 2024 01:304,87084,695,05615,583,38202,183,168
12Aug 7, 2024 01:304,89465,726,20015,662,32602,179,072