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 14:16Robert BurkeRobert BurkeScore: 4,452Success
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 14:164,42826,011,15612,146,0002,024,0002,449,408
2Apr 18, 2024 14:164,43736,636,79712,170,0002,028,0002,461,696
3Apr 18, 2024 14:164,43927,638,50912,175,0002,029,0002,445,312
4Apr 18, 2024 14:164,44232,157,34312,183,0002,030,0002,445,312
5Apr 18, 2024 14:164,44829,061,98012,199,0002,033,0002,281,472
6Apr 18, 2024 14:164,44929,653,56412,203,0002,033,0002,281,472
7Apr 18, 2024 14:164,45232,873,08712,212,0002,035,0002,449,408
8Apr 18, 2024 14:164,45438,809,35612,216,0002,036,0002,281,472
9Apr 18, 2024 14:164,45636,946,92113,241,0001,018,0002,441,216
10Apr 18, 2024 14:164,75579,961,67015,216,41502,338,816
11Apr 18, 2024 14:164,75679,067,77815,217,85502,338,816
12Apr 18, 2024 14:164,77588,617,35815,280,47602,203,648