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 1, 2024 14:18Drew GarciaDrew GarciaScore: 5,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 14:185,61748,308,57015,976,0001,997,0002,281,472
2Apr 1, 2024 14:185,61746,560,67015,976,0001,997,0002,281,472
3Apr 1, 2024 14:185,62344,282,43115,996,0001,999,0002,281,472
4Apr 1, 2024 14:185,63647,341,70516,032,0002,004,0002,281,472
5Apr 1, 2024 14:185,64946,764,46215,064,0003,012,0002,281,472
6Apr 1, 2024 14:185,72335,576,81215,261,0003,052,0002,281,472
7Apr 1, 2024 14:185,72642,623,26215,270,0003,054,0002,273,280
8Apr 1, 2024 14:185,73244,275,70616,305,0002,038,0002,269,184
9Apr 1, 2024 14:185,73347,602,37916,309,0002,038,0002,273,280
10Apr 1, 2024 14:185,93887,607,65219,002,51002,301,952
11Apr 1, 2024 14:185,96286,257,70919,079,57602,174,976
12Apr 1, 2024 14:185,96576,111,49919,088,04502,174,976