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 listNov 27, 2024 22:40Hayden DonnellyHayden DonnellyScore: 10,225Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 22:4010,08558,906,27811,093,00021,178,0002,293,760
2Nov 27, 2024 22:4010,15853,376,1117,110,00025,394,0002,392,064
3Nov 27, 2024 22:4010,17461,721,75710,174,00022,383,0002,293,760
4Nov 27, 2024 22:4010,20363,825,4574,081,00028,567,0002,293,760
5Nov 27, 2024 22:4010,22558,558,8767,157,00025,562,0002,293,760
6Nov 27, 2024 22:4010,26561,853,722995,00031,853,0002,293,760
7Nov 27, 2024 22:4010,33955,855,6534,010,00029,075,0002,293,760
8Nov 27, 2024 22:4010,36356,122,6067,034,00026,129,0002,490,368
9Nov 27, 2024 22:4010,53058,145,1085,105,00028,590,0002,392,064