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 1, 2021 13:11Ilya AniskovetsIlya AniskovetsScore: 5,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 13:115,36242,377,18715,139,0002,018,0002,396,160
2Nov 1, 2021 13:115,37137,891,40315,165,0002,022,0002,260,992
3Nov 1, 2021 13:115,37245,440,10715,167,0002,022,0002,383,872
4Nov 1, 2021 13:115,37533,001,16214,164,0003,035,0002,383,872
5Nov 1, 2021 13:115,38543,787,98514,191,0003,041,0002,387,968
6Nov 1, 2021 13:115,39147,920,24015,221,0002,029,0002,383,872
7Nov 1, 2021 13:115,40143,016,56516,266,0001,016,0002,519,040
8Nov 1, 2021 13:115,40344,593,06916,273,0001,017,0002,396,160
9Nov 1, 2021 13:115,43640,265,69115,349,0002,046,0002,396,160
10Nov 1, 2021 13:115,60994,052,45417,950,05802,277,376
11Nov 1, 2021 13:115,616104,398,39417,969,68502,281,472
12Nov 1, 2021 13:115,64394,331,17418,056,05902,281,472