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 25, 2025 20:43Adam FolwarcznyAdam FolwarcznyScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 20:434,45329,159,47513,233,0001,017,0002,531,328
2Apr 25, 2025 20:434,45930,258,00513,251,0001,019,0002,437,120
3Apr 25, 2025 20:434,46235,977,75713,258,0001,019,0002,531,328
4Apr 25, 2025 20:434,46334,192,62313,260,0001,020,0002,531,328
5Apr 25, 2025 20:434,46331,507,35913,262,0001,020,0002,449,408
6Apr 25, 2025 20:434,46830,299,81713,275,0001,021,0002,445,312
7Apr 25, 2025 20:434,47029,325,80113,283,0001,021,0002,437,120
8Apr 25, 2025 20:434,47836,596,93013,305,0001,023,0002,531,328
9Apr 25, 2025 20:434,48929,098,66813,340,0001,026,0002,445,312