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 13, 2026 16:29Oleg SkinderevOleg SkinderevScore: 5,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 16:295,31134,896,45914,997,0001,999,0002,277,376
2Apr 13, 2026 16:295,33241,094,12015,054,0002,007,0002,523,136
3Apr 13, 2026 16:295,33443,346,79915,060,0002,008,0002,277,376
4Apr 13, 2026 14:495,33745,091,88616,075,0001,004,0002,277,376
5Apr 13, 2026 16:295,33745,655,90015,069,0002,009,0002,273,280
6Apr 13, 2026 14:495,34233,650,82616,090,0001,005,0002,277,376
7Apr 13, 2026 16:295,35136,247,89117,123,00002,277,376
8Apr 13, 2026 14:495,36644,161,64815,150,0002,020,0002,269,184
9Apr 13, 2026 16:295,36944,244,86215,160,0002,021,0002,273,280
10Apr 13, 2026 16:295,37436,481,58815,173,0002,023,0002,277,376
11Apr 13, 2026 16:295,37744,259,85515,183,0002,024,0002,277,376
12Apr 13, 2026 16:295,38843,523,34414,200,0003,043,0002,523,136