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:45Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,176Success
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:455,15439,128,05016,493,00002,523,136
2Jan 26, 2026 13:335,15439,167,85016,494,00002,383,872
3Jan 26, 2026 13:335,15442,446,81116,492,00002,523,136
4Jan 25, 2026 15:455,16032,440,63015,480,0001,032,0002,265,088
5Jan 26, 2026 13:335,16335,821,02015,491,0001,032,0002,265,088
6Jan 25, 2026 15:455,16536,211,80016,528,00002,523,136
7Jan 26, 2026 13:335,16733,870,20215,502,0001,033,0002,383,872
8Jan 25, 2026 15:455,17234,703,14816,551,00002,387,968
9Jan 26, 2026 13:335,17439,321,74015,523,0001,034,0002,523,136
10Jan 25, 2026 15:455,17643,401,82916,563,00002,523,136
11Jan 26, 2026 13:335,18534,707,99915,555,0001,037,0002,523,136
12Jan 25, 2026 15:455,18842,384,06416,602,00002,392,064
13Jan 25, 2026 15:455,18842,569,10415,565,0001,037,0002,375,680
14Jan 26, 2026 13:335,19043,899,63716,607,00002,523,136
15Jan 26, 2026 13:335,19234,279,82015,575,0001,038,0002,387,968
16Jan 25, 2026 15:455,19336,084,28216,616,00002,523,136
17Jan 25, 2026 15:455,19841,616,13416,633,00002,265,088
18Jan 26, 2026 13:335,20341,483,80116,648,00002,396,160