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 26, 2021 00:15Mikhail DektyarevMikhail DektyarevScore: 4,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 00:154,60933,933,20813,697,0001,053,0002,281,472
2May 26, 2021 00:154,64532,265,34313,874,000991,0002,281,472
3May 26, 2021 00:154,64641,806,39013,877,000991,0002,281,472
4May 26, 2021 00:154,64630,510,01412,886,0001,982,0002,281,472
5May 26, 2021 00:154,64735,264,26914,869,00002,281,472
6May 26, 2021 00:154,64835,551,04112,892,0001,983,0002,400,256
7May 26, 2021 00:154,64941,580,76213,887,000991,0002,404,352
8May 26, 2021 00:154,64929,777,78112,894,0001,983,0002,392,064
9May 26, 2021 00:154,65043,681,70112,897,0001,984,0002,281,472
10May 26, 2021 00:154,65031,461,18412,897,0001,984,0002,400,256
11May 26, 2021 00:154,65131,667,01913,890,000992,0002,396,160
12May 26, 2021 00:154,65131,302,14513,892,000992,0002,408,448
13May 26, 2021 00:154,65228,725,51312,902,0001,985,0002,281,472
14May 26, 2021 00:154,65338,424,57713,899,000992,0002,396,160
15May 26, 2021 00:154,65330,480,39113,899,000992,0002,404,352
16May 26, 2021 00:154,65535,522,13613,902,000993,0002,281,472
17May 26, 2021 00:154,65534,459,65612,910,0001,986,0002,400,256
18May 26, 2021 00:154,65529,171,91813,903,000993,0002,281,472
19May 26, 2021 00:154,65532,153,90612,910,0001,986,0002,392,064
20May 26, 2021 00:154,66133,768,23912,926,0001,988,0002,510,848
21May 26, 2021 00:154,66134,361,49513,922,000994,0002,281,472
22May 26, 2021 00:154,66339,354,68412,934,0001,989,0002,281,472
23May 26, 2021 00:154,66333,216,26413,926,000994,0002,281,472
24May 26, 2021 00:154,66939,224,31712,949,0001,992,0002,396,160
25May 26, 2021 00:154,67038,290,63013,949,000996,0002,281,472
26May 26, 2021 00:154,68736,672,14012,999,0001,999,0002,396,160
27May 26, 2021 00:154,73042,233,30213,117,0002,018,0002,400,256
28May 26, 2021 00:154,84544,749,30415,504,73302,297,856
29May 26, 2021 00:154,84741,458,07815,509,76202,285,568
30May 26, 2021 00:154,85687,147,25015,539,65902,289,664
31May 26, 2021 00:154,85662,292,13115,538,34302,281,472
32May 26, 2021 00:154,85952,457,91115,547,77902,293,760
33May 26, 2021 00:154,86679,950,15115,572,61502,289,664
34May 26, 2021 00:154,88082,509,88415,615,99302,256,896
35May 26, 2021 00:154,88159,241,70715,620,64602,277,376
36May 26, 2021 00:154,90852,592,35915,705,04902,293,760