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 05:07MylesMylesScore: 4,433Success
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 05:074,39339,416,25112,050,0002,008,0002,281,472
2Aug 3, 2024 05:074,41928,678,30912,122,0002,020,0002,445,312
3Aug 3, 2024 05:074,42233,713,71912,130,0002,021,0002,445,312
4Aug 3, 2024 05:074,42330,372,90012,132,0002,022,0002,273,280
5Aug 3, 2024 05:074,42628,185,96112,139,0002,023,0002,527,232
6Aug 3, 2024 05:074,43130,199,48612,153,0002,025,0002,281,472
7Aug 3, 2024 05:074,43335,556,91212,160,0002,026,0002,453,504
8Aug 3, 2024 05:074,43436,890,52112,163,0002,027,0002,281,472
9Aug 3, 2024 05:074,44333,149,06412,186,0002,031,0002,277,376
10Aug 3, 2024 05:074,67777,487,78114,967,08202,215,936
11Aug 3, 2024 05:074,69591,412,08415,025,17902,207,744
12Aug 3, 2024 05:074,70788,606,81815,063,63502,207,744