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 listJul 27, 2022 14:24Robert BurkeRobert BurkeScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:244,42030,599,76813,135,0001,010,0002,449,408
2Jul 27, 2022 14:244,44336,513,47712,188,0002,031,0002,449,408
3Jul 27, 2022 14:244,44433,531,45012,191,0002,031,0002,445,312
4Jul 27, 2022 14:244,44829,133,88812,201,0002,033,0002,445,312
5Jul 27, 2022 14:244,44933,051,72512,204,0002,034,0002,281,472
6Jul 27, 2022 14:244,45036,028,15212,207,0002,034,0002,441,216
7Jul 27, 2022 14:244,45726,354,59512,225,0002,037,0002,449,408
8Jul 27, 2022 14:244,46130,842,87214,275,00002,281,472
9Jul 27, 2022 14:244,46936,704,62313,279,0001,021,0002,445,312
10Jul 27, 2022 14:244,67569,747,98914,960,91502,207,744
11Jul 27, 2022 14:244,71174,525,77115,076,23002,207,744
12Jul 27, 2022 14:244,72785,760,68315,127,80202,199,552