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 00:12Robert BurkeRobert BurkeScore: 4,595Success
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 00:124,57429,421,92913,591,0001,045,0002,453,504
2Jul 23, 2022 00:124,57931,909,96613,606,0001,046,0002,281,472
3Jul 23, 2022 00:124,58339,848,37113,619,0001,047,0002,277,376
4Jul 23, 2022 00:124,58838,278,43413,635,0001,048,0002,281,472
5Jul 23, 2022 00:124,59046,216,26913,638,0001,049,0002,281,472
6Jul 23, 2022 00:124,59433,993,79513,650,0001,050,0002,281,472
7Jul 23, 2022 00:124,59540,879,18513,653,0001,050,0002,445,312
8Jul 23, 2022 00:124,59930,332,41813,665,0001,051,0002,281,472
9Jul 23, 2022 00:124,64731,523,47912,888,0001,982,0002,445,312
10Jul 23, 2022 00:124,82096,225,70415,423,98302,215,936
11Jul 23, 2022 00:124,82479,093,58315,436,12002,207,744
12Jul 23, 2022 00:124,82481,941,32215,437,20002,211,840