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 14:42Jack FrigaardJack FrigaardScore: 5,624Success
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 14:425,60457,579,13415,940,0001,992,0002,285,568
2Jan 2, 2023 14:425,61134,124,24815,961,0001,995,0002,285,568
3Jan 2, 2023 14:425,61642,578,61715,974,0001,996,0002,269,184
4Jan 2, 2023 14:425,61641,231,26415,975,0001,996,0002,285,568
5Jan 2, 2023 14:425,62146,219,64715,989,0001,998,0002,285,568
6Jan 2, 2023 14:425,62341,806,63315,995,0001,999,0002,285,568
7Jan 2, 2023 14:425,62440,646,42115,999,0001,999,0002,269,184
8Jan 2, 2023 14:425,64944,830,54016,068,0002,008,0002,273,280
9Jan 2, 2023 14:425,72352,059,41115,260,0003,052,0002,285,568
10Jan 2, 2023 14:425,80482,927,50418,573,17902,297,856
11Jan 2, 2023 14:425,80677,797,55318,579,04002,297,856
12Jan 2, 2023 14:425,82876,532,34618,649,36502,252,800