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 listMay 29, 2021 16:00Yuriy LyfenkoYuriy LyfenkoScore: 5,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:005,05039,244,39814,140,0002,020,0002,281,472
2May 29, 2021 16:005,05332,343,49414,148,0002,021,0002,404,352
3May 29, 2021 16:005,06730,898,29614,187,0002,026,0002,281,472
4May 29, 2021 16:005,07544,290,27015,225,0001,015,0002,281,472
5May 29, 2021 16:005,09338,689,33116,296,00002,281,472
6May 29, 2021 16:005,09343,701,13814,260,0002,037,0002,281,472
7May 29, 2021 16:005,10433,743,51015,313,0001,020,0002,519,040
8May 29, 2021 16:005,10541,649,67516,335,00002,408,448
9May 29, 2021 16:005,12732,672,66316,407,00002,277,376
10May 29, 2021 16:005,26187,190,29516,835,29902,281,472
11May 29, 2021 16:005,26577,766,32416,847,03202,297,856
12May 29, 2021 16:005,29261,757,86616,933,87202,289,664