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 listDec 3, 2024 17:17MitchMitchScore: 20,003Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 3, 2024 17:1719,82784,885,23632,227,00031,220,0002,281,472
2Dec 3, 2024 17:1719,93894,301,80834,892,00028,910,0002,289,664
3Dec 3, 2024 17:1719,95291,259,80935,913,00027,932,0002,289,664
4Dec 3, 2024 17:1719,98188,891,32232,968,00030,970,0002,289,664
5Dec 3, 2024 17:1720,00389,230,30938,006,00026,004,0002,273,280
6Dec 3, 2024 17:1720,05685,535,85935,098,00029,081,0002,289,664
7Dec 3, 2024 17:1720,07389,043,81535,128,00029,106,0002,273,280
8Dec 3, 2024 17:1720,16488,554,05035,288,00029,238,0002,281,472
9Dec 3, 2024 17:1720,36290,526,47735,085,00030,073,0002,289,664