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:05Pavel SkripkinPavel SkripkinScore: 4,556Success
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:054,53335,131,29714,505,00002,482,176
2Apr 14, 2026 21:054,53334,421,77214,505,00002,482,176
3Apr 14, 2026 21:054,54629,169,14414,547,00002,490,368
4Apr 14, 2026 21:054,54929,733,82114,556,00002,277,376
5Apr 14, 2026 21:054,55632,739,31113,539,0001,041,0002,482,176
6Apr 14, 2026 21:054,55734,909,92214,582,00002,478,080
7Apr 14, 2026 21:054,55849,270,25414,587,00002,482,176
8Apr 14, 2026 21:054,57230,181,93214,631,00002,482,176
9Apr 14, 2026 21:054,57439,297,56314,636,00002,277,376