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 listJan 2, 2023 16:50Jack FrigaardJack FrigaardScore: 4,849Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:504,79939,295,51114,335,0001,023,0002,285,568
2Jan 2, 2023 16:504,83032,271,35614,426,0001,030,0002,285,568
3Jan 2, 2023 16:504,83133,295,47914,428,0001,030,0002,285,568
4Jan 2, 2023 16:504,83632,471,90714,443,0001,031,0002,277,376
5Jan 2, 2023 16:504,84335,649,51114,465,0001,033,0002,285,568
6Jan 2, 2023 16:504,84332,387,79014,465,0001,033,0002,285,568
7Jan 2, 2023 16:504,84937,182,54614,484,0001,034,0002,285,568
8Jan 2, 2023 16:504,86139,593,42813,481,0002,074,0002,285,568
9Jan 2, 2023 16:504,86832,231,80814,538,0001,038,0002,273,280
10Jan 2, 2023 16:505,07578,926,10416,240,34602,306,048
11Jan 2, 2023 16:505,10973,105,36416,348,09402,179,072
12Jan 2, 2023 16:505,110109,476,36016,352,74902,289,664