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 19, 2021 23:02alex3dalex3dScore: 5,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:025,45739,906,80317,463,00002,453,504
2May 19, 2021 23:025,46336,968,98317,480,00002,449,408
3May 19, 2021 23:025,47737,961,71817,525,00002,445,312
4May 19, 2021 23:025,48538,435,21917,551,00002,437,120
5May 19, 2021 23:025,48742,584,03215,492,0002,065,0002,445,312
6May 19, 2021 23:025,48830,758,28116,528,0001,033,0002,441,216
7May 19, 2021 23:025,49342,441,78416,544,0001,034,0002,441,216
8May 19, 2021 23:025,50251,626,89116,571,0001,035,0002,269,184
9May 19, 2021 23:025,51244,421,77717,637,00002,269,184
10May 19, 2021 23:025,74578,102,19418,384,04102,203,648
11May 19, 2021 23:025,74679,119,15118,386,29802,207,744
12May 19, 2021 23:025,74980,671,69618,395,27802,203,648
13May 19, 2021 23:025,77161,872,04118,468,56802,199,552
14May 19, 2021 23:025,78672,865,19118,515,82202,203,648
15May 19, 2021 23:025,80670,691,19318,578,49502,199,552