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 3, 2025 17:53lukostlukostScore: 4,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 17:534,42131,195,97812,127,0002,021,0002,457,600
2May 3, 2025 17:534,42443,778,65012,135,0002,022,0002,539,520
3May 3, 2025 17:534,42534,812,64912,138,0002,023,0002,539,520
4May 3, 2025 17:534,42630,553,05012,139,0002,023,0002,449,408
5May 3, 2025 17:534,42829,490,91512,146,0002,024,0002,441,216
6May 3, 2025 17:534,43929,012,33912,177,0002,029,0002,449,408
7May 3, 2025 17:534,44040,510,43812,178,0002,029,0002,453,504
8May 3, 2025 17:534,44428,864,18312,189,0002,031,0002,453,504
9May 3, 2025 17:534,44730,391,35712,197,0002,032,0002,535,424