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 20, 2024 15:00Joad NacerJoad NacerScore: 4,921Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2024 15:004,84836,921,94114,481,0001,034,0002,289,664
2Apr 20, 2024 15:004,87332,167,51114,553,0001,039,0002,379,776
3Apr 20, 2024 15:004,88237,361,36614,582,0001,041,0002,289,664
4Apr 20, 2024 15:004,88535,413,52714,591,0001,042,0002,289,664
5Apr 20, 2024 15:004,88931,898,65914,602,0001,043,0002,527,232
6Apr 20, 2024 15:004,89744,512,34215,671,00002,273,280
7Apr 20, 2024 15:004,92140,262,63714,699,0001,049,0002,289,664
8Apr 20, 2024 15:004,92437,198,28614,706,0001,050,0002,285,568
9Apr 20, 2024 15:004,96045,978,98914,881,000992,0002,531,328
10Apr 20, 2024 15:005,06980,707,71616,221,30402,293,760
11Apr 20, 2024 15:005,07082,906,70016,222,48102,179,072
12Apr 20, 2024 15:005,07673,659,19716,241,91502,179,072