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 23, 2022 01:05Robert BurkeRobert BurkeScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 01:054,64240,928,92913,863,000990,0002,449,408
2Jul 23, 2022 01:054,64233,428,99212,873,0001,980,0002,281,472
3Jul 23, 2022 01:054,64643,862,25212,886,0001,982,0002,281,472
4Jul 23, 2022 01:054,64732,508,09713,880,000991,0002,445,312
5Jul 23, 2022 01:054,64846,003,64712,892,0001,983,0002,445,312
6Jul 23, 2022 01:054,64930,013,36112,894,0001,983,0002,281,472
7Jul 23, 2022 01:054,65228,267,93712,901,0001,984,0002,281,472
8Jul 23, 2022 01:054,65636,372,15412,913,0001,986,0002,281,472
9Jul 23, 2022 01:054,67031,085,89713,948,000996,0002,449,408
10Jul 23, 2022 01:054,87674,862,28815,601,75802,203,648
11Jul 23, 2022 01:054,88085,174,22315,615,90302,207,744
12Jul 23, 2022 01:054,88782,213,10315,639,49102,203,648