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 listJan 29, 2025 15:09KeefeKeefeScore: 5,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 15:095,37339,496,20615,170,0002,022,0002,273,280
2Jan 29, 2025 15:095,37340,483,47815,170,0002,022,0002,293,760
3Jan 29, 2025 15:095,37842,046,63815,186,0002,024,0002,293,760
4Jan 29, 2025 15:095,38145,318,60815,194,0002,025,0002,293,760
5Jan 29, 2025 15:095,39038,661,22815,220,0002,029,0002,293,760
6Jan 29, 2025 15:095,40435,767,66615,259,0002,034,0002,293,760
7Jan 29, 2025 15:095,41537,538,78415,289,0002,038,0002,293,760
8Jan 29, 2025 15:095,41534,594,49015,291,0002,038,0002,293,760
9Jan 29, 2025 15:095,43939,485,73416,383,0001,023,0002,371,584