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 listAug 23, 2025 18:300x91C0x91CScore: 3,004,260Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2025 18:302,970,8039,538,462,2239,477,583,00028,986,0002,277,376
2Aug 23, 2025 18:302,971,0169,541,154,0279,477,269,00029,981,0002,277,376
3Aug 23, 2025 18:302,973,4939,545,185,5799,480,196,00034,982,0002,277,376
4Aug 23, 2025 18:303,003,9049,643,652,4159,575,511,00036,982,0002,260,992
5Aug 23, 2025 18:303,004,2609,639,328,0689,578,647,00034,984,0002,519,040
6Aug 23, 2025 18:303,009,4759,658,249,1839,593,341,00036,978,0002,289,664
7Aug 23, 2025 18:303,050,0569,787,711,6989,734,193,00025,987,0002,277,376
8Aug 23, 2025 18:303,050,7419,795,086,9119,730,386,00031,984,0002,277,376
9Aug 23, 2025 18:303,132,10310,050,983,7139,996,743,00025,986,0002,289,664