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 listJan 25, 2025 07:39Cameron AavikCameron AavikScore: 5,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 07:395,71840,940,67217,283,0001,016,0002,547,712
2Jan 25, 2025 07:395,73147,196,18016,303,0002,037,0002,535,424
3Jan 25, 2025 07:395,73346,691,08517,327,0001,019,0002,535,424
4Jan 25, 2025 07:395,73945,989,18117,345,0001,020,0002,289,664
5Jan 25, 2025 07:395,74734,654,65516,348,0002,043,0002,400,256
6Jan 25, 2025 07:395,75037,719,71016,357,0002,044,0002,535,424
7Jan 25, 2025 07:395,78049,712,66214,387,0004,110,0002,527,232
8Jan 25, 2025 07:395,78148,761,20616,443,0002,055,0002,535,424
9Jan 25, 2025 07:395,78245,324,26414,391,0004,111,0002,289,664