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 10, 2025 00:12Ian MckibbenIan MckibbenScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2025 00:125,83947,059,68417,646,0001,038,0002,293,760
2Jan 10, 2025 00:125,84847,000,98117,673,0001,039,0002,375,680
3Jan 10, 2025 00:125,89145,285,76516,867,0001,984,0002,293,760
4Jan 10, 2025 00:125,90044,794,23816,894,0001,987,0002,293,760
5Jan 10, 2025 00:125,90146,974,47617,889,000993,0002,293,760
6Jan 10, 2025 00:125,90143,929,38416,895,0001,987,0002,269,184
7Jan 10, 2025 00:125,90244,588,49517,893,000994,0002,281,472
8Jan 10, 2025 00:125,90641,837,75416,911,0001,989,0002,293,760
9Jan 10, 2025 00:125,91439,198,19816,934,0001,992,0002,379,776