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 03:26Robert BurkeRobert BurkeScore: 4,599Success
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 03:264,57437,168,37813,593,0001,045,0002,449,408
2Jul 23, 2022 03:264,58245,763,27413,614,0001,047,0002,281,472
3Jul 23, 2022 03:264,58642,400,58913,627,0001,048,0002,281,472
4Jul 23, 2022 03:264,58835,144,51913,632,0001,048,0002,281,472
5Jul 23, 2022 03:264,58828,309,47913,635,0001,048,0002,281,472
6Jul 23, 2022 03:264,59531,421,03113,655,0001,050,0002,449,408
7Jul 23, 2022 03:264,59939,143,98313,666,0001,051,0002,449,408
8Jul 23, 2022 03:264,64432,125,25612,881,0001,981,0002,445,312
9Jul 23, 2022 03:264,64829,480,11613,882,000991,0002,445,312
10Jul 23, 2022 03:264,771104,255,15315,266,13602,211,840
11Jul 23, 2022 03:264,84477,857,35415,501,96302,199,552
12Jul 23, 2022 03:264,89279,158,54115,654,19202,199,552