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 listMay 17, 2023 20:58Martin StensgårdMartin StensgårdScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 20:585,32635,823,94115,039,0002,005,0002,281,472
2May 17, 2023 20:585,33338,575,75815,057,0002,007,0002,281,472
3May 17, 2023 20:585,33741,648,73215,069,0002,009,0002,453,504
4May 17, 2023 20:585,35336,924,48215,114,0002,015,0002,445,312
5May 17, 2023 20:585,36139,307,38015,138,0002,018,0002,445,312
6May 17, 2023 20:585,36330,113,35815,143,0002,019,0002,277,376
7May 17, 2023 20:585,36444,374,39515,145,0002,019,0002,449,408
8May 17, 2023 20:585,36439,535,01115,146,0002,019,0002,281,472
9May 17, 2023 20:585,37143,709,41215,165,0002,022,0002,449,408
10May 17, 2023 20:585,53396,439,30717,706,18602,203,648
11May 17, 2023 20:585,53874,770,42917,722,32002,207,744
12May 17, 2023 20:585,56484,479,07917,805,45702,260,992