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:10Yuriy LyfenkoYuriy LyfenkoScore: 5,444Success
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:105,393863,230,90816,301,000958,0002,392,064
2May 16, 2021 18:105,410598,296,45317,311,00002,523,136
3May 16, 2021 18:105,411186,331,92416,298,0001,018,0002,523,136
4May 16, 2021 18:105,412316,273,63416,301,0001,018,0002,527,232
5May 16, 2021 18:105,414377,639,64716,306,0001,019,0002,265,088
6May 16, 2021 18:105,417772,818,65815,409,0001,926,0002,260,992
7May 16, 2021 18:105,419358,963,08816,321,0001,020,0002,519,040
8May 16, 2021 18:105,420917,696,38016,323,0001,020,0002,523,136
9May 16, 2021 18:105,427840,269,85415,437,0001,929,0002,265,088
10May 16, 2021 18:105,4361,040,389,94315,462,0001,932,0002,519,040
11May 16, 2021 18:105,440524,320,42015,474,0001,934,0002,523,136
12May 16, 2021 18:105,444963,266,41615,487,0001,935,0002,387,968
13May 16, 2021 18:105,444703,744,53517,420,00002,400,256
14May 16, 2021 18:105,447338,917,71813,557,0003,873,0002,523,136
15May 16, 2021 18:105,450367,075,37016,471,000968,0002,265,088
16May 16, 2021 18:105,459397,284,13416,442,0001,027,0002,519,040
17May 16, 2021 18:105,460556,667,37915,531,0001,941,0002,265,088
18May 16, 2021 18:105,460779,888,46816,503,000970,0002,260,992
19May 16, 2021 18:105,628306,247,27118,010,44902,281,472
20May 16, 2021 18:105,632216,215,50318,023,49602,281,472
21May 16, 2021 18:105,636423,243,35518,036,07102,285,568
22May 16, 2021 18:105,637220,975,02018,038,07902,281,472
23May 16, 2021 18:105,650525,112,15618,080,15302,277,376
24May 16, 2021 18:105,659515,658,49918,109,96602,281,472