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 12, 2021 13:39Mikhail DektyarevMikhail DektyarevScore: 5,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 13:395,03944,509,20215,117,0001,007,0002,510,848
2May 12, 2021 13:395,04230,172,65713,110,0003,025,0002,519,040
3May 12, 2021 13:395,04831,866,03213,124,0003,028,0002,379,776
4May 12, 2021 13:395,05046,149,06715,151,0001,010,0002,383,872
5May 12, 2021 13:395,05344,580,72014,150,0002,021,0002,519,040
6May 12, 2021 13:395,05332,350,70514,150,0002,021,0002,396,160
7May 12, 2021 13:395,05842,078,38414,161,0002,023,0002,379,776
8May 12, 2021 13:395,08434,343,08515,252,0001,016,0002,519,040
9May 12, 2021 13:395,10142,108,47114,282,0002,040,0002,498,560
10May 12, 2021 13:395,31466,878,47117,004,47902,277,376
11May 12, 2021 13:395,33397,028,47517,067,15302,277,376
12May 12, 2021 13:395,35387,620,34717,130,52302,281,472