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 14:07Oleg SkinderevOleg SkinderevScore: 5,361Success
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 14:075,34145,248,55815,080,0002,010,0002,519,040
2Apr 13, 2026 14:075,35247,178,13016,120,0001,007,0002,277,376
3Apr 13, 2026 14:075,35733,374,11514,118,0003,025,0002,527,232
4Apr 13, 2026 14:075,36146,057,50015,136,0002,018,0002,527,232
5Apr 13, 2026 14:075,36147,271,94915,138,0002,018,0002,277,376
6Apr 13, 2026 14:075,36634,637,60314,142,0003,030,0002,269,184
7Apr 13, 2026 14:075,38543,282,73515,204,0002,027,0002,277,376
8Apr 13, 2026 14:075,42544,738,50415,431,0001,928,0002,347,008
9Apr 13, 2026 14:075,51042,549,19416,596,0001,037,0002,277,376