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 listSep 4, 2021 21:00Ilya AniskovetsIlya AniskovetsScore: 5,939Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:005,91436,307,73517,929,000996,0002,535,424
2Sep 4, 2021 21:005,92240,518,33116,955,0001,994,0002,293,760
3Sep 4, 2021 21:005,92646,702,93316,968,0001,996,0002,293,760
4Sep 4, 2021 21:005,93444,055,63016,990,0001,998,0002,277,376
5Sep 4, 2021 21:005,93545,478,95717,994,000999,0002,293,760
6Sep 4, 2021 21:005,93642,782,66016,997,0001,999,0002,293,760
7Sep 4, 2021 21:005,93935,968,42017,004,0002,000,0002,269,184
8Sep 4, 2021 21:005,94343,208,15617,015,0002,001,0002,293,760
9Sep 4, 2021 21:005,94840,693,57818,033,0001,001,0002,293,760
10Sep 4, 2021 21:006,13488,598,29719,628,38102,297,856
11Sep 4, 2021 21:006,146108,866,36019,665,61902,293,760
12Sep 4, 2021 21:006,16298,474,12619,717,50302,297,856