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 18, 2021 14:18Yuriy LyfenkoYuriy LyfenkoScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:185,326267,976,56816,042,0001,002,0002,265,088
2May 18, 2021 14:185,333719,256,96617,065,00002,260,992
3May 18, 2021 14:185,3342,612,714,10215,172,0001,896,0002,260,992
4May 18, 2021 14:195,3371,383,788,14416,073,0001,004,0002,519,040
5May 18, 2021 14:185,340235,726,95716,084,0001,005,0002,265,088
6May 18, 2021 14:195,3411,418,298,05016,087,0001,005,0002,265,088
7May 18, 2021 14:195,3432,946,868,31716,094,0001,005,0002,265,088
8May 18, 2021 14:185,3442,926,674,27615,089,0002,011,0002,523,136
9May 18, 2021 14:195,346366,483,20213,305,0003,801,0002,396,160
10May 18, 2021 14:185,3482,907,102,19016,165,000950,0002,519,040
11May 18, 2021 14:185,3481,685,293,36417,112,00002,260,992
12May 18, 2021 14:185,3482,149,630,02516,109,0001,006,0002,519,040
13May 18, 2021 14:195,3571,639,475,73916,190,000952,0002,519,040
14May 18, 2021 14:185,3581,358,812,79014,121,0003,026,0002,527,232
15May 18, 2021 14:195,3601,317,514,06014,125,0003,026,0002,527,232
16May 18, 2021 14:195,3612,667,622,96516,202,000953,0002,523,136
17May 18, 2021 14:185,3632,233,723,52315,142,0002,019,0002,523,136
18May 18, 2021 14:185,3641,802,716,28615,146,0002,019,0002,260,992
19May 18, 2021 14:185,3642,772,037,31417,166,00002,519,040
20May 18, 2021 14:185,3642,309,199,16614,305,0002,861,0002,519,040
21May 18, 2021 14:185,367456,793,96013,357,0003,816,0002,265,088
22May 18, 2021 14:195,372560,520,77715,281,0001,910,0002,523,136
23May 18, 2021 14:185,3842,072,737,15015,316,0001,914,0002,523,136
24May 18, 2021 14:195,386974,025,19316,279,000957,0002,265,088
25May 18, 2021 14:185,386902,294,16416,278,000957,0002,523,136
26May 18, 2021 14:185,3862,693,214,10115,208,0002,027,0002,523,136
27May 18, 2021 14:185,3932,911,852,47816,299,000958,0002,260,992
28May 18, 2021 14:185,5561,339,473,36517,780,73002,281,472
29May 18, 2021 14:185,5671,177,617,77217,813,32202,281,472
30May 18, 2021 14:195,5692,727,997,16617,821,32802,281,472
31May 18, 2021 14:185,574162,992,30617,835,38702,281,472
32May 18, 2021 14:185,5743,009,348,94017,837,21802,285,568
33May 18, 2021 14:195,574541,825,88017,837,13102,281,472
34May 18, 2021 14:195,588931,787,16017,881,83002,285,568
35May 18, 2021 14:185,5901,280,069,28117,887,94702,285,568
36May 18, 2021 14:185,7782,989,024,02218,490,74002,289,664