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 listNov 1, 2021 11:18Ilya AniskovetsIlya AniskovetsScore: 5,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:185,41840,142,12816,318,0001,019,0002,281,472
2Nov 1, 2021 11:185,42335,515,02616,335,0001,020,0002,396,160
3Nov 1, 2021 11:185,43549,292,89517,393,00002,289,664
4Nov 1, 2021 11:185,44733,645,94217,431,00002,269,184
5Nov 1, 2021 11:185,45540,703,69516,429,0001,026,0002,289,664
6Nov 1, 2021 11:185,45637,858,12617,459,00002,289,664
7Nov 1, 2021 11:185,45848,359,02016,437,0001,027,0002,269,184
8Nov 1, 2021 11:185,46342,664,13816,453,0001,028,0002,273,280
9Nov 1, 2021 11:185,47037,240,60116,474,0001,029,0002,289,664
10Nov 1, 2021 11:185,61189,548,27717,956,76502,293,760
11Nov 1, 2021 11:185,61381,197,03617,960,31202,297,856
12Nov 1, 2021 11:185,63091,512,69318,014,90202,293,760