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 14, 2024 13:17Dmitrii KravchenkoDmitrii KravchenkoScore: 2,769,822Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2024 13:172,761,5638,863,413,9068,799,020,00037,982,0002,289,664
2Sep 14, 2024 13:172,766,7838,881,220,3628,818,721,00034,986,0002,293,760
3Sep 14, 2024 13:172,766,8408,882,883,0458,814,903,00038,986,0002,269,184
4Sep 14, 2024 13:172,767,2088,885,220,3928,824,080,00030,986,0002,269,184
5Sep 14, 2024 13:172,769,8228,898,999,6148,829,447,00033,982,0002,265,088
6Sep 14, 2024 13:172,778,4758,925,139,5898,852,133,00038,987,0002,289,664
7Sep 14, 2024 13:172,792,7958,966,825,7648,894,960,00041,985,0002,523,136
8Sep 14, 2024 13:172,797,3118,980,836,6298,913,410,00037,984,0002,289,664
9Sep 14, 2024 13:172,886,4499,269,301,3109,199,656,00036,982,0002,269,184