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 17:130x91C0x91CScore: 2,993,795Success
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 17:132,975,6699,554,406,8619,488,154,00033,986,0002,277,376
2Aug 23, 2025 17:132,979,9859,566,200,8879,512,965,00022,987,0002,269,184
3Aug 23, 2025 17:132,983,5029,579,374,7129,516,223,00030,984,0002,277,376
4Aug 23, 2025 17:132,983,7019,576,970,7649,511,863,00035,980,0002,277,376
5Aug 23, 2025 17:132,993,7959,606,886,6399,546,162,00033,982,0002,265,088
6Aug 23, 2025 17:133,007,0759,655,209,4839,587,656,00034,984,0002,277,376
7Aug 23, 2025 17:133,024,4699,706,999,7359,643,319,00034,983,0002,277,376
8Aug 23, 2025 17:133,045,7709,782,760,9249,717,477,00028,986,0002,289,664
9Aug 23, 2025 17:133,259,06510,461,841,08910,403,024,00025,985,0002,277,376