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 listJan 24, 2026 14:41Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2026 14:315,31346,860,37315,000,0002,000,0002,265,088
2Jan 24, 2026 14:315,32942,393,71315,046,0002,006,0002,523,136
3Jan 24, 2026 14:415,33744,213,26016,074,0001,004,0002,523,136
4Jan 24, 2026 14:315,34745,687,46216,104,0001,006,0002,379,776
5Jan 24, 2026 14:315,34842,931,25416,109,0001,006,0002,523,136
6Jan 24, 2026 14:315,35647,679,88716,130,0001,008,0002,387,968
7Jan 24, 2026 14:315,35830,275,64715,129,0002,017,0002,260,992
8Jan 24, 2026 14:415,35846,928,77816,139,0001,008,0002,519,040
9Jan 24, 2026 14:315,35938,589,11516,140,0001,008,0002,387,968
10Jan 24, 2026 14:315,36246,375,78715,141,0002,018,0002,506,752
11Jan 24, 2026 14:415,36344,489,68616,154,0001,009,0002,523,136
12Jan 24, 2026 14:315,36443,408,07516,155,0001,009,0002,523,136