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 13:05Yuriy LyfenkoYuriy LyfenkoScore: 5,662Success
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 13:055,615331,059,12416,970,000998,0002,527,232
2May 16, 2021 13:055,637332,251,01918,039,00002,265,088
3May 16, 2021 13:055,648329,054,12318,075,00002,273,280
4May 16, 2021 13:055,650333,459,62918,080,00002,383,872
5May 16, 2021 13:055,650330,105,02416,072,0002,009,0002,396,160
6May 16, 2021 13:055,660333,684,90318,111,00002,269,184
7May 16, 2021 13:055,662332,091,27616,104,0002,013,0002,269,184
8May 16, 2021 13:055,667338,238,83317,126,0001,007,0002,265,088
9May 16, 2021 13:055,676340,775,36117,155,0001,009,0002,269,184
10May 16, 2021 13:056,067376,418,88019,414,47102,277,376
11May 16, 2021 13:056,076367,135,91819,441,66402,273,280
12May 16, 2021 13:056,116368,295,07719,571,20002,277,376