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 24, 2025 18:27KeefeKeefeScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 18:224,95830,065,45713,882,0001,983,0002,531,328
2Apr 24, 2025 18:224,95939,560,19414,878,000991,0002,433,024
3Apr 24, 2025 18:224,96242,156,27814,886,000992,0002,445,312
4Apr 24, 2025 18:224,96342,197,22113,895,0001,985,0002,445,312
5Apr 24, 2025 18:274,96442,224,37713,901,0001,985,0002,531,328
6Apr 24, 2025 18:224,97938,475,42913,942,0001,991,0002,531,328
7Apr 24, 2025 18:226,06043,631,34418,372,0001,020,0002,494,464
8Apr 24, 2025 18:276,07038,504,31418,401,0001,022,0002,441,216
9Apr 24, 2025 18:276,13038,341,35719,617,00002,441,216