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 listApr 16, 2024 14:30Robert BlackwellRobert BlackwellScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 14:305,28944,583,48914,935,0001,991,0002,387,968
2Apr 16, 2024 14:305,30043,237,46814,965,0001,995,0002,265,088
3Apr 16, 2024 14:305,30233,080,49914,971,0001,996,0002,265,088
4Apr 16, 2024 14:305,30638,339,04915,981,000998,0002,387,968
5Apr 16, 2024 14:305,31132,926,27515,995,000999,0002,265,088
6Apr 16, 2024 14:305,31233,912,42614,999,0001,999,0002,383,872
7Apr 16, 2024 14:305,31847,381,66416,016,0001,001,0002,265,088
8Apr 16, 2024 14:305,33834,948,94416,079,0001,004,0002,265,088
9Apr 16, 2024 14:305,34342,398,35215,087,0002,011,0002,265,088
10Apr 16, 2024 14:305,51190,298,18817,634,02002,285,568
11Apr 16, 2024 14:305,51884,965,24517,656,15102,285,568
12Apr 16, 2024 14:305,52387,277,21817,672,16602,244,608