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 13:49Yuriy LyfenkoYuriy LyfenkoScore: 5,679Success
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 13:495,42439,248,10517,358,00002,400,256
2May 16, 2021 13:495,43543,031,51716,370,0001,023,0002,519,040
3May 16, 2021 13:495,43733,402,07617,399,00002,523,136
4May 16, 2021 13:495,43838,287,32516,377,0001,023,0002,519,040
5May 16, 2021 13:495,44341,502,98716,394,0001,024,0002,523,136
6May 16, 2021 13:495,44740,256,17817,429,00002,387,968
7May 16, 2021 13:495,45236,966,77016,419,0001,026,0002,519,040
8May 16, 2021 13:495,46540,191,69815,432,0002,057,0002,519,040
9May 16, 2021 13:495,46642,859,60317,490,00002,396,160
10May 16, 2021 13:495,64838,902,02616,067,0002,008,0002,392,064
11May 16, 2021 13:495,65139,311,98916,073,0002,009,0002,519,040
12May 16, 2021 13:495,66044,886,32216,099,0002,012,0002,519,040
13May 16, 2021 13:495,67944,288,59816,153,0002,019,0002,506,752
14May 16, 2021 13:495,68141,733,95416,159,0002,019,0002,506,752
15May 16, 2021 13:495,68443,717,74115,157,0003,031,0002,387,968
16May 16, 2021 13:495,68843,167,29917,191,0001,011,0002,379,776
17May 16, 2021 13:495,69848,518,56116,208,0002,026,0002,387,968
18May 16, 2021 13:495,69879,702,67218,234,35202,277,376
19May 16, 2021 13:495,72468,553,21618,317,10602,277,376
20May 16, 2021 13:495,73184,255,96618,339,13002,281,472
21May 16, 2021 13:495,77847,476,77218,488,00002,519,040
22May 16, 2021 13:496,21889,876,34719,897,10102,273,280
23May 16, 2021 13:496,22989,005,23119,931,68402,285,568
24May 16, 2021 13:496,27395,210,61920,073,83602,281,472