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 29, 2025 06:18lukostlukostScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2025 06:184,42830,100,07612,147,0002,024,0002,539,520
2Apr 29, 2025 06:184,44026,111,08212,179,0002,029,0002,277,376
3Apr 29, 2025 06:184,45332,283,34712,214,0002,035,0002,449,408
4Apr 29, 2025 06:184,45429,284,07113,236,0001,018,0002,441,216
5Apr 29, 2025 06:184,45832,474,10613,247,0001,019,0002,277,376
6Apr 29, 2025 06:184,46237,520,94513,259,0001,019,0002,445,312
7Apr 29, 2025 06:184,47028,752,45512,260,0002,043,0002,535,424
8Apr 29, 2025 06:184,47332,568,58713,293,0001,022,0002,539,520
9Apr 29, 2025 06:184,49034,676,86313,342,0001,026,0002,445,312