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 listJul 4, 2026 14:33dmhockey2005-progdmhockey2005-progScore: 52,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 14:3351,420173,960,26852,452,000112,092,0002,113,536
2Jul 4, 2026 14:3351,469174,175,25552,469,000112,232,0002,113,536
3Jul 4, 2026 14:3352,280176,746,78752,503,000114,796,0002,113,536
4Jul 4, 2026 14:3352,329176,867,45552,408,000115,045,0002,113,536
5Jul 4, 2026 14:3352,495177,341,00752,366,000115,621,0002,113,536
6Jul 4, 2026 14:3352,676177,958,90652,444,000116,121,0002,113,536
7Jul 4, 2026 14:3352,916178,729,25552,411,000116,922,0002,113,536
8Jul 4, 2026 14:3353,612180,931,16352,390,000119,171,0002,113,536
9Jul 4, 2026 14:3353,908183,230,20152,435,000120,073,0002,113,536