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 listApr 14, 2026 21:06Pavel SkripkinPavel SkripkinScore: 4,544Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2026 21:084,51235,160,77914,437,00002,490,368
2Apr 14, 2026 21:064,52934,374,47014,493,00002,494,464
3Apr 14, 2026 21:084,53329,410,52014,506,00002,486,272
4Apr 14, 2026 21:064,53832,793,96614,522,00002,482,176
5Apr 14, 2026 21:064,54138,992,91614,531,00002,494,464
6Apr 14, 2026 21:064,54232,129,55014,534,00002,277,376
7Apr 14, 2026 21:064,54438,311,78413,502,0001,038,0002,482,176
8Apr 14, 2026 21:064,54432,733,76614,542,00002,535,424
9Apr 14, 2026 21:064,55028,712,64314,559,00002,482,176
10Apr 14, 2026 21:064,55226,591,95813,525,0001,040,0002,535,424
11Apr 14, 2026 21:064,55734,262,13414,583,00002,277,376
12Apr 14, 2026 21:084,57433,093,18113,591,0001,045,0002,277,376