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 04:46MylesMylesScore: 4,435Success
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 04:464,39537,383,38712,056,0002,009,0002,281,472
2Aug 3, 2024 04:464,41029,927,50112,096,0002,016,0002,449,408
3Aug 3, 2024 04:464,42135,623,14312,126,0002,021,0002,281,472
4Aug 3, 2024 04:464,42835,985,17012,144,0002,024,0002,445,312
5Aug 3, 2024 04:464,42931,827,73112,148,0002,024,0002,281,472
6Aug 3, 2024 04:464,43335,756,84712,160,0002,026,0002,281,472
7Aug 3, 2024 04:464,43526,608,87112,166,0002,027,0002,449,408
8Aug 3, 2024 04:464,43733,883,50512,170,0002,028,0002,449,408
9Aug 3, 2024 04:464,45133,595,75412,208,0002,034,0002,445,312
10Aug 3, 2024 04:464,68682,582,71214,996,35202,203,648
11Aug 3, 2024 04:464,70481,395,73915,052,55802,211,840
12Aug 3, 2024 04:464,72254,157,82715,110,10102,330,624