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 18:31lukostlukostScore: 4,445Success
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 18:314,41736,056,49612,114,0002,019,0002,539,520
2May 3, 2025 18:314,42539,735,78112,137,0002,022,0002,449,408
3May 3, 2025 18:314,42932,893,59812,148,0002,024,0002,539,520
4May 3, 2025 18:314,44130,234,02912,180,0002,030,0002,539,520
5May 3, 2025 18:314,44532,126,70612,192,0002,032,0002,531,328
6May 3, 2025 18:314,47131,462,86114,307,00002,539,520
7May 3, 2025 18:314,47432,245,91712,271,0002,045,0002,449,408
8May 3, 2025 18:314,47829,472,33713,308,0001,023,0002,441,216
9May 3, 2025 18:314,48530,987,49213,326,0001,025,0002,445,312