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 listJun 6, 2021 22:58evgenikwtevgenikwtScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 03:285,25747,853,90414,843,0001,979,0002,265,088
2Jun 6, 2021 03:285,26642,881,91814,868,0001,982,0002,265,088
3Jun 6, 2021 22:585,26752,983,31515,864,000991,0002,527,232
4Jun 6, 2021 03:285,26738,497,91115,864,000991,0002,387,968
5Jun 6, 2021 03:285,27041,278,89114,881,0001,984,0002,510,848
6Jun 6, 2021 03:285,27231,122,10816,871,00002,392,064
7Jun 6, 2021 22:585,27344,857,91915,880,000992,0002,392,064
8Jun 6, 2021 22:585,27333,685,91615,882,000992,0002,260,992
9Jun 6, 2021 22:585,27343,034,87415,883,000992,0002,265,088
10Jun 6, 2021 03:285,27532,491,88115,888,000993,0002,392,064
11Jun 6, 2021 03:285,27743,137,10115,893,000993,0002,387,968
12Jun 6, 2021 03:285,27835,589,80814,902,0001,987,0002,387,968
13Jun 6, 2021 22:585,27935,729,75516,894,00002,265,088
14Jun 6, 2021 22:585,28142,475,89015,904,000994,0002,387,968
15Jun 6, 2021 03:285,28141,899,90815,904,000994,0002,265,088
16Jun 6, 2021 22:585,28138,812,42015,904,000994,0002,387,968
17Jun 6, 2021 22:585,28432,496,35614,919,0001,989,0002,265,088
18Jun 6, 2021 22:585,28945,403,46914,933,0001,991,0002,375,680
19Jun 6, 2021 22:585,45999,101,48617,467,39702,285,568
20Jun 6, 2021 22:585,47482,498,42617,516,62202,285,568
21Jun 6, 2021 22:585,48381,404,77117,545,35402,281,472
22Jun 6, 2021 03:285,57572,466,78217,840,22602,273,280
23Jun 6, 2021 03:285,62258,466,14317,989,11002,281,472
24Jun 6, 2021 03:285,79486,031,01018,541,39902,277,376