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 18, 2024 19:28Robert BurkeRobert BurkeScore: 4,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:284,40235,869,89312,075,0002,012,0002,281,472
2Apr 18, 2024 19:284,40835,037,62112,092,0002,015,0002,281,472
3Apr 18, 2024 19:284,41132,819,10212,099,0002,016,0002,281,472
4Apr 18, 2024 19:284,41939,671,23312,120,0002,020,0002,281,472
5Apr 18, 2024 19:284,42428,061,50912,136,0002,022,0002,277,376
6Apr 18, 2024 19:284,42632,261,25412,140,0002,023,0002,281,472
7Apr 18, 2024 19:284,43726,304,43713,185,0001,014,0002,527,232
8Apr 18, 2024 19:284,43929,062,84712,176,0002,029,0002,449,408
9Apr 18, 2024 19:284,46031,346,32513,253,0001,019,0002,281,472
10Apr 18, 2024 19:284,69497,823,09515,019,85602,260,992
11Apr 18, 2024 19:284,71094,262,10415,072,23202,207,744
12Apr 18, 2024 19:284,72398,423,90615,114,73202,211,840