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 25, 2026 15:35Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2026 15:355,31642,369,16316,012,0001,000,0002,265,088
2Jan 25, 2026 15:345,33044,314,74015,049,0002,006,0002,387,968
3Jan 25, 2026 15:345,34844,169,49015,099,0002,013,0002,510,848
4Jan 25, 2026 15:355,36643,085,28016,160,0001,010,0002,523,136
5Jan 25, 2026 15:345,37050,640,86716,173,0001,010,0002,523,136
6Jan 25, 2026 15:355,38641,897,58916,223,0001,013,0002,383,872