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 25, 2021 22:46Mikhail DektyarevMikhail DektyarevScore: 4,960Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:464,89930,380,52015,678,00002,281,472
2May 25, 2021 22:464,90336,725,21415,691,00002,400,256
3May 25, 2021 22:464,90542,639,24815,697,00002,404,352
4May 25, 2021 22:464,90635,307,02914,653,0001,046,0002,281,472
5May 25, 2021 22:464,90732,276,60515,701,00002,281,472
6May 25, 2021 22:464,90941,063,29915,708,00002,404,352
7May 25, 2021 22:464,91337,349,63914,672,0001,048,0002,281,472
8May 25, 2021 22:464,92347,252,09714,704,0001,050,0002,281,472
9May 25, 2021 22:464,92433,202,08714,707,0001,050,0002,281,472
10May 25, 2021 22:464,95641,689,59314,867,000991,0002,281,472
11May 25, 2021 22:464,95742,510,03914,872,000991,0002,510,848
12May 25, 2021 22:464,95742,416,16314,870,000991,0002,396,160
13May 25, 2021 22:464,96034,660,70015,873,00002,281,472
14May 25, 2021 22:464,96034,158,77713,888,0001,984,0002,281,472
15May 25, 2021 22:464,96242,770,13114,885,000992,0002,400,256
16May 25, 2021 22:464,96332,439,19813,898,0001,985,0002,408,448
17May 25, 2021 22:464,96337,047,85713,895,0001,985,0002,281,472
18May 25, 2021 22:464,96449,937,77415,886,00002,281,472
19May 25, 2021 22:465,02861,663,63616,090,19702,297,856
20May 25, 2021 22:465,04848,046,71216,153,43702,240,512
21May 25, 2021 22:465,05278,403,42816,166,11802,289,664
22May 25, 2021 22:465,06471,287,05016,204,33802,293,760
23May 25, 2021 22:465,07051,892,20916,225,28902,289,664
24May 25, 2021 22:465,07467,642,16416,235,95302,285,568