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 27, 2021 17:59Yurkov AlekseyYurkov AlekseyScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:595,60439,903,73115,942,0001,992,0002,289,664
2May 27, 2021 17:595,60739,680,21615,949,0001,993,0002,289,664
3May 27, 2021 17:595,60743,178,11716,947,000996,0002,527,232
4May 27, 2021 17:595,61240,176,70615,964,0001,995,0002,289,664
5May 27, 2021 17:595,61545,609,64515,972,0001,996,0002,289,664
6May 27, 2021 17:595,64141,878,26416,045,0002,005,0002,277,376
7May 27, 2021 17:595,64341,026,80416,053,0002,006,0002,527,232
8May 27, 2021 17:595,64947,142,41916,070,0002,008,0002,269,184
9May 27, 2021 17:595,65441,269,65916,084,0002,010,0002,277,376
10May 27, 2021 17:595,72957,811,38118,331,89002,297,856
11May 27, 2021 17:595,77384,693,22018,472,49302,170,880
12May 27, 2021 17:595,79142,413,34118,530,26302,289,664