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 26, 2021 00:20Mikhail DektyarevMikhail DektyarevScore: 4,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 00:204,63732,241,65313,848,000989,0002,281,472
2May 26, 2021 00:204,64630,005,62313,877,000991,0002,404,352
3May 26, 2021 00:204,64733,717,71813,878,000991,0002,281,472
4May 26, 2021 00:204,64832,031,21613,884,000991,0002,396,160
5May 26, 2021 00:204,64831,537,91213,882,000991,0002,400,256
6May 26, 2021 00:204,64832,249,40912,889,0001,983,0002,281,472
7May 26, 2021 00:204,64937,093,28113,885,000991,0002,281,472
8May 26, 2021 00:204,65133,725,10013,891,000992,0002,281,472
9May 26, 2021 00:204,65138,584,47913,892,000992,0002,281,472
10May 26, 2021 00:204,65129,436,26012,900,0001,984,0002,387,968
11May 26, 2021 00:204,65332,504,76112,905,0001,985,0002,281,472
12May 26, 2021 00:204,65433,545,27812,907,0001,985,0002,281,472
13May 26, 2021 00:204,65532,114,52713,903,000993,0002,400,256
14May 26, 2021 00:204,66430,337,02813,930,000995,0002,281,472
15May 26, 2021 00:204,66636,981,27212,941,0001,991,0002,281,472
16May 26, 2021 00:204,67940,772,52812,978,0001,996,0002,400,256
17May 26, 2021 00:204,68029,627,05113,977,000998,0002,404,352
18May 26, 2021 00:204,68248,065,45513,984,000998,0002,392,064
19May 26, 2021 00:204,84044,152,81315,488,26502,285,568
20May 26, 2021 00:204,86447,991,01815,566,03202,293,760
21May 26, 2021 00:204,88689,687,98615,636,00902,301,952
22May 26, 2021 00:204,89084,175,53815,649,51202,285,568
23May 26, 2021 00:204,90775,637,06515,703,31302,277,376
24May 26, 2021 00:204,92635,934,09315,763,93902,293,760