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 15:59Yuriy LyfenkoYuriy LyfenkoScore: 5,466Success
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 15:595,42241,126,79216,329,0001,020,0002,392,064
2May 16, 2021 15:595,43844,045,48016,377,0001,023,0002,519,040
3May 16, 2021 15:595,44833,655,20017,434,00002,519,040
4May 16, 2021 15:595,45343,268,56917,449,00002,519,040
5May 16, 2021 15:595,45836,510,82416,437,0001,027,0002,392,064
6May 16, 2021 15:595,46234,343,03516,450,0001,028,0002,519,040
7May 16, 2021 15:595,46644,793,23716,462,0001,028,0002,519,040
8May 16, 2021 15:595,47038,063,94917,504,00002,387,968
9May 16, 2021 15:595,48333,182,64716,515,0001,032,0002,519,040
10May 16, 2021 15:595,71668,669,00518,289,63602,285,568
11May 16, 2021 15:595,73389,975,93718,344,02002,273,280
12May 16, 2021 15:595,73577,336,14918,352,13902,277,376