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 listSep 29, 2026 10:36Damian HösterDamian HösterScore: 5,171Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2026 10:365,14525,376,35015,414,0001,053,0002,125,824
2Sep 29, 2026 10:365,16525,678,93515,369,0001,160,0002,125,824
3Sep 29, 2026 10:365,16525,483,23015,439,0001,089,0002,125,824
4Sep 29, 2026 10:365,16826,898,71615,455,0001,085,0002,125,824
5Sep 29, 2026 10:365,17125,552,67815,388,0001,162,0002,125,824
6Sep 29, 2026 10:365,17225,549,97515,482,0001,071,0002,125,824
7Sep 29, 2026 10:365,17226,166,30315,403,0001,149,0002,125,824
8Sep 29, 2026 10:365,17625,663,16915,468,0001,096,0002,125,824
9Sep 29, 2026 10:365,17725,466,46915,404,0001,165,0002,125,824