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 listAug 3, 2024 16:29jeffplaisancejeffplaisanceScore: 4,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 16:294,41727,840,95012,114,0002,019,0002,281,472
2Aug 3, 2024 16:294,41731,945,86612,114,0002,019,0002,445,312
3Aug 3, 2024 16:294,42530,000,00412,137,0002,022,0002,457,600
4Aug 3, 2024 16:294,42929,615,86912,148,0002,024,0002,453,504
5Aug 3, 2024 16:294,43130,477,85012,155,0002,025,0002,281,472
6Aug 3, 2024 16:294,43829,478,14312,173,0002,028,0002,281,472
7Aug 3, 2024 16:294,44230,855,25212,183,0002,030,0002,281,472
8Aug 3, 2024 16:294,44436,446,08312,191,0002,031,0002,445,312
9Aug 3, 2024 16:294,44429,597,79112,191,0002,031,0002,273,280
10Aug 3, 2024 16:294,70389,246,59915,051,19302,199,552
11Aug 3, 2024 16:294,71173,992,11215,074,12202,203,648
12Aug 3, 2024 16:294,72489,211,47315,115,95002,195,456