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 24, 2022 12:26Robert BurkeRobert BurkeScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:264,41529,452,56912,110,0002,018,0002,281,472
2Jul 24, 2022 12:264,43532,157,06412,166,0002,027,0002,281,472
3Jul 24, 2022 12:264,44636,643,56212,194,0002,032,0002,449,408
4Jul 24, 2022 12:264,45530,492,91712,221,0002,036,0002,281,472
5Jul 24, 2022 12:264,46342,379,70713,262,0001,020,0002,453,504
6Jul 24, 2022 12:264,46536,210,03013,269,0001,020,0002,457,600
7Jul 24, 2022 12:264,46829,339,67513,276,0001,021,0002,281,472
8Jul 24, 2022 12:264,46934,761,29113,280,0001,021,0002,281,472
9Jul 24, 2022 12:264,47930,504,42913,311,0001,023,0002,281,472
10Jul 24, 2022 12:264,70469,903,69515,051,87002,203,648
11Jul 24, 2022 12:264,71060,066,26415,071,82502,203,648
12Jul 24, 2022 12:264,72859,396,88115,128,65102,207,744