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 listNov 27, 2022 22:54apuxbtapuxbtScore: 35,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 22:5335,020176,081,484112,065,52902,228,224
2Nov 27, 2022 22:5435,278181,898,080112,890,32202,224,128
3Nov 27, 2022 22:5435,287185,452,260112,917,40902,228,224
4Nov 27, 2022 22:5335,300181,812,245112,960,88602,220,032
5Nov 27, 2022 22:5435,376179,091,511113,204,14302,232,320
6Nov 27, 2022 22:5435,417173,428,951113,333,35402,232,320
7Nov 27, 2022 22:5435,438167,716,062113,401,42002,224,128
8Nov 27, 2022 22:5335,489174,570,863113,564,08502,228,224
9Nov 27, 2022 22:5435,599172,346,879113,917,12602,232,320