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 listJun 3, 2021 18:20Yuriy LyfenkoYuriy LyfenkoScore: 5,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 18:204,983540,760,63913,953,0001,993,0002,281,472
2Jun 3, 2021 18:204,984539,133,81513,956,0001,993,0002,281,472
3Jun 3, 2021 18:204,988544,155,17813,967,0001,995,0002,273,280
4Jun 3, 2021 18:204,997544,034,36813,991,0001,998,0002,273,280
5Jun 3, 2021 18:204,999536,531,12613,999,0001,999,0002,281,472
6Jun 3, 2021 18:205,008542,248,32915,023,0001,001,0002,412,544
7Jun 3, 2021 18:205,013542,900,13414,038,0002,005,0002,408,448
8Jun 3, 2021 18:205,034539,104,94614,097,0002,013,0002,273,280
9Jun 3, 2021 18:205,042537,991,88814,117,0002,016,0002,281,472
10Jun 3, 2021 18:205,140574,384,67216,448,23502,252,800
11Jun 3, 2021 18:205,151580,251,80516,484,41802,281,472
12Jun 3, 2021 18:205,189580,058,83516,604,35902,281,472