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 23, 2021 15:08Vladimir KuryakovVladimir KuryakovScore: 5,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 15:085,69240,758,36516,190,0002,023,0002,519,040
2May 23, 2021 15:085,69946,869,36817,224,0001,013,0002,510,848
3May 23, 2021 15:085,70335,212,20316,221,0002,027,0002,482,176
4May 23, 2021 15:075,70546,164,74517,241,0001,014,0002,519,040
5May 23, 2021 15:085,70843,122,16816,237,0002,029,0002,383,872
6May 23, 2021 15:075,71336,626,25016,249,0002,031,0002,519,040
7May 23, 2021 15:075,71439,691,53216,255,0002,031,0002,396,160
8May 23, 2021 15:075,71841,082,45118,299,00002,383,872
9May 23, 2021 15:075,72940,847,35417,316,0001,018,0002,523,136
10May 23, 2021 15:075,73536,015,95618,353,00002,260,992
11May 23, 2021 15:085,74137,463,65817,350,0001,020,0002,510,848
12May 23, 2021 15:085,74340,626,61917,356,0001,020,0002,387,968
13May 23, 2021 15:075,74740,934,90417,368,0001,021,0002,392,064
14May 23, 2021 15:075,74842,743,78817,371,0001,021,0002,519,040
15May 23, 2021 15:085,74849,739,42918,394,00002,519,040
16May 23, 2021 15:075,75239,470,87718,406,00002,387,968
17May 23, 2021 15:085,75538,344,65117,393,0001,023,0002,392,064
18May 23, 2021 15:085,82344,677,02716,674,0001,961,0002,469,888
19May 23, 2021 15:085,95282,769,62319,044,99502,273,280
20May 23, 2021 15:085,96781,935,04919,093,24502,277,376
21May 23, 2021 15:075,98296,291,58019,141,07802,285,568
22May 23, 2021 15:075,994101,682,44419,181,85902,285,568
23May 23, 2021 15:086,01886,196,14719,257,69702,277,376
24May 23, 2021 15:076,04178,448,30319,330,27102,277,376