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 18, 2024 14:28Robert BurkeRobert BurkeScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:284,59129,773,27013,642,0001,049,0002,457,600
2Apr 18, 2024 14:284,60039,381,82313,668,0001,051,0002,445,312
3Apr 18, 2024 14:284,60036,149,61513,669,0001,051,0002,445,312
4Apr 18, 2024 14:284,64132,982,15412,872,0001,980,0002,535,424
5Apr 18, 2024 14:284,64743,098,02112,889,0001,982,0002,281,472
6Apr 18, 2024 14:284,64844,811,99213,881,000991,0002,281,472
7Apr 18, 2024 14:284,64840,645,85512,891,0001,983,0002,453,504
8Apr 18, 2024 14:284,64830,960,73613,884,000991,0002,277,376
9Apr 18, 2024 14:284,64845,093,14713,884,000991,0002,449,408
10Apr 18, 2024 14:284,89375,070,47815,658,33002,203,648
11Apr 18, 2024 14:284,91155,741,14315,715,27302,203,648
12Apr 18, 2024 14:284,91591,443,90715,729,48802,207,744