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 18:32Yuriy LyfenkoYuriy LyfenkoScore: 5,686Success
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 18:325,65445,079,24816,083,0002,010,0002,383,872
2May 11, 2021 18:325,65842,269,66717,101,0001,005,0002,519,040
3May 11, 2021 18:335,65836,688,70516,094,0002,011,0002,519,040
4May 11, 2021 18:335,65942,629,32117,103,0001,006,0002,523,136
5May 11, 2021 18:335,66044,222,36116,100,0002,012,0002,523,136
6May 11, 2021 18:335,66144,182,33216,102,0002,012,0002,519,040
7May 11, 2021 18:325,66244,984,13617,111,0001,006,0002,387,968
8May 11, 2021 18:325,66553,033,78716,115,0002,014,0002,383,872
9May 11, 2021 18:325,66834,526,60917,130,0001,007,0002,392,064
10May 11, 2021 18:335,66847,823,18316,121,0002,015,0002,519,040
11May 11, 2021 18:325,67441,481,94015,130,0003,026,0002,392,064
12May 11, 2021 18:335,67846,789,79617,162,0001,009,0002,519,040
13May 11, 2021 18:325,68648,168,45816,173,0002,021,0002,519,040
14May 11, 2021 18:325,68634,278,08016,175,0002,021,0002,519,040
15May 11, 2021 18:335,69539,626,55916,200,0002,025,0002,383,872
16May 11, 2021 18:335,70437,646,81916,224,0002,028,0002,482,176
17May 11, 2021 18:325,71344,335,70518,281,00002,506,752
18May 11, 2021 18:335,72739,921,30917,309,0001,018,0002,502,656
19May 11, 2021 18:325,89180,602,38118,851,19602,285,568
20May 11, 2021 18:325,92586,578,46018,958,66002,281,472
21May 11, 2021 18:335,931109,928,38718,977,90402,293,760
22May 11, 2021 18:335,94270,689,06219,015,10102,273,280
23May 11, 2021 18:325,95774,238,85219,062,53902,281,472
24May 11, 2021 18:335,99086,450,33919,169,56302,281,472