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 listApr 19, 2024 11:46Joad NacerJoad NacerScore: 5,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 19, 2024 11:465,64342,080,75216,053,0002,006,0002,277,376
2Apr 19, 2024 11:465,65741,050,02716,090,0002,011,0002,510,848
3Apr 19, 2024 11:465,65935,758,94716,097,0002,012,0002,523,136
4Apr 19, 2024 11:465,68241,142,87616,162,0002,020,0002,510,848
5Apr 19, 2024 11:465,68744,677,58117,187,0001,011,0002,510,848
6Apr 19, 2024 11:465,69035,520,62515,174,0003,034,0002,277,376
7Apr 19, 2024 11:465,70438,681,21615,211,0003,042,0002,510,848
8Apr 19, 2024 11:465,71046,111,41416,241,0002,030,0002,510,848
9Apr 19, 2024 11:465,72243,403,00115,258,0003,051,0002,519,040
10Apr 19, 2024 11:465,93284,641,75618,982,29902,297,856
11Apr 19, 2024 11:465,94171,551,96819,012,66702,183,168
12Apr 19, 2024 11:465,95193,125,67019,042,66202,289,664