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 28, 2026 17:20Navneet RajNavneet RajScore: 5,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2026 17:235,11426,122,88815,343,0001,024,0002,113,536
2Aug 28, 2026 17:235,11626,149,56415,347,0001,025,0002,113,536
3Aug 28, 2026 17:235,13326,151,70215,403,0001,025,0002,113,536
4Aug 28, 2026 17:235,15426,253,63015,491,0001,004,0002,113,536
5Aug 28, 2026 17:235,15526,278,02315,462,0001,035,0002,113,536
6Aug 28, 2026 17:235,15526,650,20215,414,0001,084,0002,113,536
7Aug 28, 2026 17:235,15526,238,20815,437,0001,061,0002,113,536
8Aug 28, 2026 17:235,15626,292,06115,380,0001,120,0002,113,536
9Aug 28, 2026 17:235,17126,291,10215,470,0001,080,0002,113,536