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 7, 2025 16:32Yuriy LyfenkoYuriy LyfenkoScore: 4,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 21:294,360539,730,72511,959,0001,993,0002,269,184
2Apr 22, 2025 21:294,360538,066,19311,960,0001,993,0002,531,328
3Apr 7, 2025 16:334,371537,992,63911,989,0001,998,0002,531,328
4Apr 7, 2025 16:334,381536,824,20812,017,0002,002,0002,269,184
5Apr 7, 2025 16:324,384535,434,40912,024,0002,004,0002,531,328
6Apr 7, 2025 16:324,385539,753,22312,029,0002,004,0002,449,408
7Apr 22, 2025 21:294,387540,243,62212,034,0002,005,0002,531,328
8Apr 7, 2025 16:324,406541,860,33812,086,0002,014,0002,269,184
9Apr 7, 2025 16:334,410539,198,84112,097,0002,016,0002,531,328