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 22, 2025 20:26vahookvahookScore: 4,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 20:264,23327,868,10213,546,00002,502,656
2Apr 22, 2025 20:264,23626,591,87113,554,00002,486,272
3Apr 22, 2025 20:274,26239,295,36013,638,00002,490,368
4Apr 22, 2025 20:264,26428,623,10513,644,00002,494,464
5Apr 22, 2025 20:264,26526,747,15313,647,00002,494,464
6Apr 22, 2025 20:264,26530,298,89313,648,00002,498,560
7Apr 22, 2025 20:264,26828,675,05113,658,00002,498,560
8Apr 22, 2025 20:264,27241,284,78113,670,00002,494,464
9Apr 22, 2025 20:264,27940,392,65113,693,00002,486,272
10Apr 22, 2025 20:264,28431,595,60213,710,00002,531,328
11Apr 22, 2025 20:274,28440,532,15913,708,00002,486,272
12Apr 22, 2025 20:274,29829,175,01713,755,00002,502,656
13Apr 22, 2025 20:274,33129,685,78913,858,00002,273,280
14Apr 22, 2025 20:264,33744,486,61512,887,000991,0002,273,280
15Apr 22, 2025 20:264,33826,530,73512,891,000991,0002,502,656
16Apr 22, 2025 20:264,34137,186,93012,899,000992,0002,273,280
17Apr 22, 2025 20:274,34237,918,37713,893,00002,494,464
18Apr 22, 2025 20:274,35831,394,96512,950,000996,0002,490,368