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 16, 2021 18:17Yuriy LyfenkoYuriy LyfenkoScore: 5,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:175,409785,299,26216,349,000961,0002,523,136
2May 16, 2021 18:175,4101,925,650,73715,389,0001,923,0002,519,040
3May 16, 2021 18:175,4112,409,350,91216,296,0001,018,0002,260,992
4May 16, 2021 18:175,412707,363,87016,356,000962,0002,260,992
5May 16, 2021 18:175,4141,140,480,39915,288,0002,038,0002,523,136
6May 16, 2021 18:175,417635,800,48716,371,000963,0002,265,088
7May 16, 2021 18:175,4281,768,817,62716,350,0001,021,0002,527,232
8May 16, 2021 18:175,431423,996,82816,413,000965,0002,523,136
9May 16, 2021 18:175,4351,647,508,49116,369,0001,023,0002,523,136
10May 16, 2021 18:175,4361,735,650,67615,349,0002,046,0002,523,136
11May 16, 2021 18:175,440676,508,13914,507,0002,901,0002,523,136
12May 16, 2021 18:175,4411,638,594,03816,444,000967,0002,523,136
13May 16, 2021 18:175,4421,341,433,74916,446,000967,0002,387,968
14May 16, 2021 18:175,444659,776,73414,519,0002,903,0002,519,040
15May 16, 2021 18:175,4512,847,979,40516,475,000969,0002,523,136
16May 16, 2021 18:175,4521,898,719,77216,478,000969,0002,519,040
17May 16, 2021 18:175,4612,579,730,63415,533,0001,941,0002,523,136
18May 16, 2021 18:175,4672,600,354,72717,495,00002,519,040
19May 16, 2021 18:175,6142,430,840,60117,963,82602,281,472
20May 16, 2021 18:175,6141,282,453,26817,964,94402,277,376
21May 16, 2021 18:175,6262,322,441,72118,001,65902,285,568
22May 16, 2021 18:175,6391,149,160,64618,043,50602,277,376
23May 16, 2021 18:175,6422,653,344,67318,054,22602,281,472
24May 16, 2021 18:175,6441,079,801,00018,060,05602,285,568