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 14:42Ilya AniskovetsIlya AniskovetsScore: 5,634Success
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 14:425,61244,844,63916,960,000997,0002,269,184
2Nov 1, 2021 14:425,61342,997,72415,966,0001,995,0002,269,184
3Nov 1, 2021 14:425,61936,879,02816,983,000999,0002,289,664
4Nov 1, 2021 14:425,62441,762,67615,999,0001,999,0002,289,664
5Nov 1, 2021 14:425,63034,920,37817,015,0001,000,0002,265,088
6Nov 1, 2021 14:425,63442,142,13716,025,0002,003,0002,281,472
7Nov 1, 2021 14:425,63443,650,11116,027,0002,003,0002,289,664
8Nov 1, 2021 14:425,64042,305,50416,042,0002,005,0002,289,664
9Nov 1, 2021 14:425,65540,799,93616,085,0002,010,0002,355,200
10Nov 1, 2021 14:425,79570,462,76418,544,63702,301,952
11Nov 1, 2021 14:425,80080,101,82818,560,21102,297,856
12Nov 1, 2021 14:425,83188,036,30418,658,09402,306,048