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 4, 2024 01:27Christopher TarryChristopher TarryScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 01:275,82944,797,91717,617,0001,036,0002,289,664
2Apr 4, 2024 01:275,83646,444,66317,638,0001,037,0002,289,664
3Apr 4, 2024 01:275,88445,569,79216,847,0001,982,0002,289,664
4Apr 4, 2024 01:275,89745,918,07916,885,0001,986,0002,289,664
5Apr 4, 2024 01:275,89846,886,96817,881,000993,0002,289,664
6Apr 4, 2024 01:275,89849,701,37617,882,000993,0002,289,664
7Apr 4, 2024 01:275,89947,705,36716,890,0001,987,0002,351,104
8Apr 4, 2024 01:275,90239,862,20617,893,000994,0002,289,664
9Apr 4, 2024 01:275,90443,055,63917,844,0001,049,0002,289,664
10Apr 4, 2024 01:275,965100,825,34719,087,49102,174,976
11Apr 4, 2024 01:276,10397,623,47919,530,53202,174,976
12Apr 4, 2024 01:276,12588,704,39119,601,05802,306,048