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 listNov 1, 2021 11:27Ilya AniskovetsIlya AniskovetsScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:265,26942,921,33515,870,000991,0002,265,088
2Nov 1, 2021 11:265,26940,605,58015,869,000991,0002,383,872
3Nov 1, 2021 11:265,27245,023,61114,886,0001,984,0002,527,232
4Nov 1, 2021 11:275,27234,345,72415,879,000992,0002,265,088
5Nov 1, 2021 11:275,27436,651,79515,885,000992,0002,527,232
6Nov 1, 2021 11:265,27644,740,73815,889,000993,0002,404,352
7Nov 1, 2021 11:265,27845,232,53215,895,000993,0002,387,968
8Nov 1, 2021 11:275,27944,434,22114,905,0001,987,0002,265,088
9Nov 1, 2021 11:265,28034,618,98115,902,000993,0002,392,064
10Nov 1, 2021 11:275,28340,742,35716,907,00002,265,088
11Nov 1, 2021 11:275,29233,784,42814,943,0001,992,0002,383,872
12Nov 1, 2021 11:275,29343,353,97314,946,0001,992,0002,265,088
13Nov 1, 2021 11:275,29846,124,90514,959,0001,994,0002,387,968
14Nov 1, 2021 11:265,29843,123,62515,956,000997,0002,506,752
15Nov 1, 2021 11:265,30445,179,65014,977,0001,996,0002,387,968
16Nov 1, 2021 11:275,30542,168,99515,978,000998,0002,523,136
17Nov 1, 2021 11:265,31642,519,46715,011,0002,001,0002,265,088
18Nov 1, 2021 11:275,31746,684,20315,012,0002,001,0002,527,232
19Nov 1, 2021 11:265,47072,282,64917,505,23602,297,856
20Nov 1, 2021 11:275,47686,665,87617,523,55702,289,664
21Nov 1, 2021 11:275,50094,241,08017,599,63302,281,472
22Nov 1, 2021 11:265,501104,183,73517,603,66202,285,568
23Nov 1, 2021 11:275,50564,616,69117,616,57102,285,568
24Nov 1, 2021 11:265,78390,549,65318,505,83202,289,664