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 listApr 16, 2025 13:22Christian BernardChristian BernardScore: 2,769,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 13:222,762,7748,869,137,8048,803,896,00036,982,0002,277,376
2Apr 16, 2025 13:222,765,5868,881,121,8368,819,888,00029,986,0002,277,376
3Apr 16, 2025 13:222,766,0038,887,758,1048,827,220,00023,989,0002,265,088
4Apr 16, 2025 13:222,768,4188,888,920,7408,833,945,00024,991,0002,277,376
5Apr 16, 2025 13:222,769,3608,889,121,6018,836,964,00024,988,0002,277,376
6Apr 16, 2025 13:222,769,4038,899,637,3758,835,103,00026,988,0002,289,664
7Apr 16, 2025 13:222,770,9538,901,006,4928,844,059,00022,989,0002,277,376
8Apr 16, 2025 13:222,773,5378,903,155,6508,840,333,00034,985,0002,273,280
9Apr 16, 2025 13:222,783,2028,942,026,4888,881,257,00024,989,0002,277,376