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 listSep 22, 2024 21:05MaxMaxScore: 2,806,245Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2024 21:052,766,2368,883,259,9258,819,969,00031,985,0002,269,184
2Sep 22, 2024 21:052,768,3798,894,739,7108,809,837,00048,976,0002,281,472
3Sep 22, 2024 21:052,769,4978,903,653,0788,828,404,00033,986,0002,289,664
4Sep 22, 2024 21:052,770,2998,892,438,4058,830,974,00033,984,0002,281,472
5Sep 22, 2024 21:052,806,2459,005,754,0298,942,996,00036,987,0002,289,664
6Sep 22, 2024 21:052,824,7459,073,190,3849,008,193,00030,990,0002,273,280
7Sep 22, 2024 21:052,861,5269,191,200,6829,124,899,00031,985,0002,293,760
8Sep 22, 2024 21:052,873,5769,229,886,4159,161,457,00033,986,0002,289,664
9Sep 22, 2024 21:052,877,1899,240,614,6009,179,019,00027,987,0002,285,568