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 15, 2023 06:55AmirAmirScore: 5,782Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:555,72346,032,20616,280,0002,035,0002,269,184
2May 15, 2023 06:405,73345,126,52716,309,0002,038,0002,527,232
3May 15, 2023 06:405,74340,651,35517,358,0001,021,0002,519,040
4May 15, 2023 06:405,74542,130,62817,362,0001,021,0002,289,664
5May 15, 2023 06:555,75039,195,14816,356,0002,044,0002,269,184
6May 15, 2023 06:405,75042,578,02417,377,0001,022,0002,289,664
7May 15, 2023 06:405,76838,325,56217,434,0001,025,0002,269,184
8May 15, 2023 06:405,76943,759,79518,461,00002,269,184
9May 15, 2023 06:555,77036,807,22417,438,0001,025,0002,289,664
10May 15, 2023 06:555,77141,650,64416,415,0002,051,0002,273,280
11May 15, 2023 06:555,77140,635,69817,442,0001,026,0002,269,184
12May 15, 2023 06:405,77342,392,05317,449,0001,026,0002,383,872
13May 15, 2023 06:555,78244,245,01316,446,0002,055,0002,289,664
14May 15, 2023 06:405,78443,937,64517,482,0001,028,0002,269,184
15May 15, 2023 06:405,79136,046,42918,532,00002,289,664
16May 15, 2023 06:555,79547,633,97917,513,0001,030,0002,289,664
17May 15, 2023 06:555,80144,549,86617,533,0001,031,0002,289,664
18May 15, 2023 06:555,80339,990,53117,537,0001,031,0002,527,232
19May 15, 2023 06:405,89360,838,28718,856,22102,297,856
20May 15, 2023 06:555,89399,491,10418,857,38402,297,856
21May 15, 2023 06:405,90282,971,49118,885,03102,293,760
22May 15, 2023 06:555,91598,954,10618,928,43202,297,856
23May 15, 2023 06:555,93788,016,33118,998,49902,297,856
24May 15, 2023 06:405,94099,373,04619,008,44902,256,896