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 13, 2024 00:01джулисджулисScore: 5,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 00:015,30443,840,85815,975,000998,0002,371,584
2Jun 13, 2024 00:015,30741,420,02215,984,000999,0002,367,488
3Jun 13, 2024 00:015,30734,245,89415,984,000999,0002,293,760
4Jun 13, 2024 00:015,30941,736,29014,991,0001,998,0002,293,760
5Jun 13, 2024 00:015,32632,752,97315,037,0002,005,0002,293,760
6Jun 13, 2024 00:015,33142,838,77215,053,0002,007,0002,293,760
7Jun 13, 2024 00:015,33244,254,85015,056,0002,007,0002,469,888
8Jun 13, 2024 00:015,34034,092,52215,079,0002,010,0002,371,584
9Jun 13, 2024 00:015,34845,041,36115,100,0002,013,0002,371,584
10Jun 13, 2024 00:015,54762,685,01217,750,20402,236,416
11Jun 13, 2024 00:015,56582,811,35817,807,50802,375,680
12Jun 13, 2024 00:015,56993,299,57617,820,09002,240,512