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 16, 2021 14:08Yuriy LyfenkoYuriy LyfenkoScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 14:085,65045,407,50216,071,0002,008,0002,519,040
2May 16, 2021 14:085,65544,790,41616,086,0002,010,0002,506,752
3May 16, 2021 14:085,65949,450,54216,097,0002,012,0002,392,064
4May 16, 2021 14:085,66947,075,19816,126,0002,015,0002,519,040
5May 16, 2021 14:085,67445,702,95116,141,0002,017,0002,383,872
6May 16, 2021 14:085,68240,435,30116,161,0002,020,0002,392,064
7May 16, 2021 14:085,69431,864,27917,209,0001,012,0002,383,872
8May 16, 2021 14:085,69643,404,22617,215,0001,012,0002,506,752
9May 16, 2021 14:085,70049,299,61417,226,0001,013,0002,519,040
10May 16, 2021 14:086,19278,048,08319,813,62902,285,568
11May 16, 2021 14:086,23583,732,63419,953,48202,293,760
12May 16, 2021 14:086,23977,225,44919,965,22002,285,568