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 listJul 26, 2024 20:55Yuriy LyfenkoYuriy LyfenkoScore: 4,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:554,356536,880,39912,943,000995,0002,273,280
2Jul 26, 2024 20:554,360539,252,05211,958,0001,993,0002,273,280
3Jul 26, 2024 20:554,365540,215,80811,972,0001,995,0002,535,424
4Jul 26, 2024 20:554,365532,071,75511,974,0001,995,0002,273,280
5Jul 26, 2024 20:554,381536,773,16912,016,0002,002,0002,535,424
6Jul 26, 2024 20:554,382536,329,25612,020,0002,003,0002,535,424
7Jul 26, 2024 20:554,393543,141,94512,049,0002,008,0002,535,424
8Jul 26, 2024 20:554,400537,676,01212,069,0002,011,0002,457,600
9Jul 26, 2024 20:554,407539,638,27312,087,0002,014,0002,535,424
10Jul 26, 2024 20:554,557563,501,07114,583,46702,199,552
11Jul 26, 2024 20:554,570565,329,36814,622,68902,199,552
12Jul 26, 2024 20:554,593571,740,75014,696,96602,351,104