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 19:33Yuriy LyfenkoYuriy LyfenkoScore: 5,587Success
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 19:335,58147,187,26016,867,000992,0002,519,040
2May 11, 2021 19:335,58433,294,73415,884,0001,985,0002,519,040
3May 11, 2021 19:335,58435,412,30015,884,0001,985,0002,519,040
4May 11, 2021 19:335,58633,504,27115,888,0001,986,0002,519,040
5May 11, 2021 19:335,58636,844,56415,889,0001,986,0002,392,064
6May 11, 2021 19:335,58733,883,58815,891,0001,986,0002,379,776
7May 11, 2021 19:335,58747,127,21817,879,00002,523,136
8May 11, 2021 19:335,58844,042,18116,889,000993,0002,506,752
9May 11, 2021 19:335,59547,027,63215,915,0001,989,0002,383,872
10May 11, 2021 19:335,78082,001,03218,496,71202,277,376
11May 11, 2021 19:335,82884,521,40318,650,01102,277,376
12May 11, 2021 19:335,82871,959,58318,648,22602,277,376