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 listJul 22, 2022 23:21Robert BurkeRobert BurkeScore: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:214,64834,227,36113,883,000991,0002,281,472
2Jul 22, 2022 23:214,64839,720,27412,892,0001,983,0002,535,424
3Jul 22, 2022 23:214,64927,573,58012,893,0001,983,0002,445,312
4Jul 22, 2022 23:214,64934,188,49412,894,0001,983,0002,445,312
5Jul 22, 2022 23:214,65046,151,73512,897,0001,984,0002,449,408
6Jul 22, 2022 23:214,65139,658,16613,891,000992,0002,453,504
7Jul 22, 2022 23:214,65129,632,00613,892,000992,0002,453,504
8Jul 22, 2022 23:214,65735,803,72813,837,0001,064,0002,441,216
9Jul 22, 2022 23:214,66833,652,10212,945,0001,991,0002,445,312
10Jul 22, 2022 23:214,91199,008,67415,715,24402,207,744
11Jul 22, 2022 23:214,91254,952,37915,717,14202,207,744
12Jul 22, 2022 23:214,934100,165,77815,790,00902,199,552