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 04:13Robert BurkeRobert BurkeScore: 4,645Success
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 04:134,57126,069,65213,584,0001,044,0002,441,216
2Jul 23, 2022 04:134,58228,172,92413,616,0001,047,0002,281,472
3Jul 23, 2022 04:134,58732,922,56313,630,0001,048,0002,281,472
4Jul 23, 2022 04:134,58845,976,99813,634,0001,048,0002,449,408
5Jul 23, 2022 04:134,59031,787,14313,638,0001,049,0002,281,472
6Jul 23, 2022 04:134,59130,290,05213,641,0001,049,0002,445,312
7Jul 23, 2022 04:134,64530,697,44612,882,0001,981,0002,281,472
8Jul 23, 2022 04:134,64629,002,74412,886,0001,982,0002,277,376
9Jul 23, 2022 04:134,65133,531,20812,898,0001,984,0002,445,312
10Jul 23, 2022 04:134,81793,303,29315,414,13902,207,744
11Jul 23, 2022 04:134,82199,405,74415,426,84302,211,840
12Jul 23, 2022 04:134,83365,663,48315,465,32002,195,456