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:00lukostlukostScore: 4,442Success
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:004,42334,689,07512,133,0002,022,0002,277,376
2May 3, 2025 18:004,43525,648,19312,165,0002,027,0002,539,520
3May 3, 2025 18:004,43537,489,07112,166,0002,027,0002,437,120
4May 3, 2025 18:004,43640,429,01512,167,0002,027,0002,539,520
5May 3, 2025 18:004,44234,100,06812,183,0002,030,0002,539,520
6May 3, 2025 18:004,44231,519,35412,183,0002,030,0002,539,520
7May 3, 2025 18:004,44235,299,58012,184,0002,030,0002,441,216
8May 3, 2025 18:004,44634,068,29212,195,0002,032,0002,535,424
9May 3, 2025 18:004,45030,267,75512,205,0002,034,0002,441,216