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 24, 2026 11:52Uladzislau NestsiarukUladzislau NestsiarukScore: 5,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2026 11:525,51834,661,82116,620,0001,038,0002,347,008
2Apr 24, 2026 11:525,52841,016,17616,651,0001,040,0002,523,136
3Apr 24, 2026 11:525,52835,368,90816,650,0001,040,0002,519,040
4Apr 24, 2026 11:525,53035,731,19716,658,0001,041,0002,523,136
5Apr 24, 2026 11:525,53931,873,27315,758,0001,969,0002,527,232
6Apr 24, 2026 11:525,54038,931,89916,686,0001,042,0002,523,136
7Apr 24, 2026 11:525,55935,209,85015,815,0001,976,0002,527,232
8Apr 24, 2026 11:525,56138,548,86115,821,0001,977,0002,523,136
9Apr 24, 2026 11:525,57934,946,14015,871,0001,983,0002,514,944