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 listDec 19, 2023 05:32Kenneth MaplesKenneth MaplesScore: 5,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 05:325,14837,928,54615,443,0001,029,0002,265,088
2Dec 19, 2023 05:325,16636,129,20615,499,0001,033,0002,396,160
3Dec 19, 2023 05:325,16936,763,60116,540,00002,400,256
4Dec 19, 2023 05:325,17334,113,91115,518,0001,034,0002,387,968
5Dec 19, 2023 05:325,17333,170,48616,553,00002,506,752
6Dec 19, 2023 05:325,17738,845,23616,567,00002,265,088
7Dec 19, 2023 05:325,18334,274,76116,586,00002,387,968
8Dec 19, 2023 05:325,19141,311,54015,574,0001,038,0002,265,088
9Dec 19, 2023 05:325,20144,926,44615,603,0001,040,0002,265,088
10Dec 19, 2023 05:325,377100,172,19917,205,72202,269,184
11Dec 19, 2023 05:325,37980,197,25417,212,40502,269,184
12Dec 19, 2023 05:325,39375,138,69817,257,66502,269,184