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:06Navneet RajNavneet RajScore: 5,132Success
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:065,11226,179,67315,341,0001,020,0002,113,536
2Aug 28, 2026 17:065,11526,191,47015,336,0001,032,0002,113,536
3Aug 28, 2026 17:065,11626,133,97115,337,0001,035,0002,113,536
4Aug 28, 2026 17:065,13026,161,14315,404,0001,014,0002,113,536
5Aug 28, 2026 17:065,13226,121,62615,402,0001,022,0002,113,536
6Aug 28, 2026 17:065,13526,278,08015,431,0001,004,0002,113,536
7Aug 28, 2026 17:065,14926,295,89915,454,0001,023,0002,113,536
8Aug 28, 2026 17:065,15726,241,72015,463,0001,040,0002,113,536
9Aug 28, 2026 17:065,15826,304,30415,466,0001,040,0002,113,536