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:03Yuriy LyfenkoYuriy LyfenkoScore: 5,590Success
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:035,53943,185,04215,640,0002,085,0002,387,968
2May 11, 2021 19:035,56844,303,72216,828,000989,0002,392,064
3May 11, 2021 19:035,58244,834,07914,886,0002,977,0002,392,064
4May 11, 2021 19:035,58248,246,30216,871,000992,0002,519,040
5May 11, 2021 19:035,58247,429,13616,871,000992,0002,519,040
6May 11, 2021 19:035,58444,751,14916,878,000992,0002,519,040
7May 11, 2021 19:035,58448,285,67716,878,000992,0002,387,968
8May 11, 2021 19:035,58437,441,03715,885,0001,985,0002,519,040
9May 11, 2021 19:035,58446,696,15016,877,000992,0002,519,040
10May 11, 2021 19:035,58643,946,57116,881,000993,0002,392,064
11May 11, 2021 19:035,58747,739,85215,892,0001,986,0002,519,040
12May 11, 2021 19:035,58743,023,73017,878,00002,519,040
13May 11, 2021 19:035,59039,864,51916,895,000993,0002,383,872
14May 11, 2021 19:035,59341,288,43415,910,0001,988,0002,519,040
15May 11, 2021 19:035,59346,006,86015,908,0001,988,0002,392,064
16May 11, 2021 19:035,59846,917,07114,929,0002,985,0002,519,040
17May 11, 2021 19:035,60845,757,05615,952,0001,994,0002,519,040
18May 11, 2021 19:035,61047,464,98414,961,0002,992,0002,387,968
19May 11, 2021 19:035,75784,326,66018,421,87902,277,376
20May 11, 2021 19:035,76566,338,50118,446,76402,277,376
21May 11, 2021 19:035,80283,462,91718,565,96802,277,376
22May 11, 2021 19:035,80956,493,94018,588,51602,281,472
23May 11, 2021 19:035,82888,205,66918,650,71802,285,568
24May 11, 2021 19:035,84981,505,71218,717,96402,285,568