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 listJun 8, 2024 19:18джулисджулисScore: 5,544Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:185,52244,034,67217,671,00002,367,488
2Jun 8, 2024 19:185,52343,577,25117,672,00002,375,680
3Jun 8, 2024 19:185,52743,660,94716,647,0001,040,0002,293,760
4Jun 8, 2024 19:185,52946,259,13216,653,0001,040,0002,293,760
5Jun 8, 2024 19:185,53733,451,69717,719,00002,375,680
6Jun 8, 2024 19:185,53842,580,64017,721,00002,375,680
7Jun 8, 2024 19:185,54437,996,71516,699,0001,043,0002,375,680
8Jun 8, 2024 19:185,57846,494,63615,867,0001,983,0002,293,760
9Jun 8, 2024 19:185,57942,811,48715,869,0001,983,0002,379,776
10Jun 8, 2024 19:185,71862,619,36418,296,54602,236,416
11Jun 8, 2024 19:185,75883,014,05618,425,17302,240,512
12Jun 8, 2024 19:185,76073,283,58418,431,67702,240,512