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 14:57Mikhail DektyarevMikhail DektyarevScore: 18,491Success
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 15:0318,400116,239,71658,881,48702,228,224
2May 11, 2021 14:5718,404122,306,98958,892,26602,240,512
3May 11, 2021 14:5718,416115,374,90858,932,21302,232,320
4May 11, 2021 15:0318,443119,524,46159,017,16102,232,320
5May 11, 2021 14:5718,491117,716,51059,171,28502,232,320
6May 11, 2021 14:5718,493119,960,65559,178,21902,228,224
7May 11, 2021 14:5718,498126,204,59359,193,33302,236,416
8May 11, 2021 15:0318,502117,255,15659,205,13202,224,128
9May 11, 2021 14:5718,564122,386,96959,405,19402,236,416