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 listDec 29, 2025 21:25HattonuriHattonuriScore: 4,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 21:254,43337,170,31012,161,0002,026,0002,531,328
2Dec 29, 2025 21:254,44045,835,25712,178,0002,029,0002,531,328
3Dec 29, 2025 21:254,44335,089,73212,186,0002,031,0002,449,408
4Dec 29, 2025 21:254,44328,280,18912,188,0002,031,0002,453,504
5Dec 29, 2025 21:254,45428,866,64812,217,0002,036,0002,441,216
6Dec 29, 2025 21:254,45735,989,44012,225,0002,037,0002,531,328
7Dec 29, 2025 21:254,45731,190,36113,244,0001,018,0002,269,184
8Dec 29, 2025 21:254,47633,138,90613,300,0001,023,0002,531,328
9Dec 29, 2025 21:254,48130,228,92312,291,0002,048,0002,453,504