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 11, 2021 19:31Yuriy LyfenkoYuriy LyfenkoScore: 5,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:315,58243,624,57616,870,000992,0002,387,968
2May 11, 2021 19:315,58347,000,98114,887,0002,977,0002,519,040
3May 11, 2021 19:325,58439,676,82614,891,0002,978,0002,375,680
4May 11, 2021 19:315,58443,436,60715,884,0001,985,0002,519,040
5May 11, 2021 19:315,58442,610,58016,876,000992,0002,519,040
6May 11, 2021 19:315,58548,604,92316,879,000992,0002,519,040
7May 11, 2021 19:315,58537,820,85615,886,0001,985,0002,383,872
8May 11, 2021 19:325,58544,158,06716,820,0001,051,0002,392,064
9May 11, 2021 19:315,58646,520,37316,883,000993,0002,523,136
10May 11, 2021 19:325,58635,549,53316,881,000993,0002,519,040
11May 11, 2021 19:325,58637,350,00415,889,0001,986,0002,514,944
12May 11, 2021 19:325,58652,422,41516,882,000993,0002,519,040
13May 11, 2021 19:315,58843,919,71714,901,0002,980,0002,519,040
14May 11, 2021 19:315,58843,665,30513,908,0003,973,0002,519,040
15May 11, 2021 19:315,58848,215,68414,725,0003,155,0002,519,040
16May 11, 2021 19:315,58943,329,31515,898,0001,987,0002,265,088
17May 11, 2021 19:325,58952,569,42116,893,000993,0002,519,040
18May 11, 2021 19:315,58934,346,29015,898,0001,987,0002,519,040
19May 11, 2021 19:325,59149,429,34916,898,000994,0002,379,776
20May 11, 2021 19:315,59348,905,98216,905,000994,0002,519,040
21May 11, 2021 19:315,59444,369,89316,907,000994,0002,392,064
22May 11, 2021 19:315,59448,124,86514,919,0002,983,0002,383,872
23May 11, 2021 19:325,60044,175,61215,930,0001,991,0002,387,968
24May 11, 2021 19:315,60142,278,14716,928,000995,0002,387,968
25May 11, 2021 19:315,60145,060,23915,932,0001,991,0002,392,064
26May 11, 2021 19:325,60550,979,98416,939,000996,0002,519,040
27May 11, 2021 19:315,60946,607,53116,953,000997,0002,396,160
28May 11, 2021 19:315,78975,369,94218,524,70002,273,280
29May 11, 2021 19:315,80567,110,13818,575,56702,285,568
30May 11, 2021 19:325,81182,596,16718,594,16202,281,472
31May 11, 2021 19:325,81355,548,77518,601,63002,285,568
32May 11, 2021 19:315,81983,259,46718,620,81702,277,376
33May 11, 2021 19:315,82185,232,41318,628,41202,285,568
34May 11, 2021 19:315,83887,100,12018,681,90802,285,568
35May 11, 2021 19:315,84689,172,05618,707,09602,277,376
36May 11, 2021 19:325,964105,588,09119,084,47402,277,376