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 23, 2024 18:58AnSaAnSaScore: 5,226Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:585,18439,053,55015,552,0001,036,0002,281,472
2Jan 23, 2024 18:585,19136,482,81716,610,00002,281,472
3Jan 23, 2024 18:585,19634,350,60816,628,00002,392,064
4Jan 23, 2024 18:585,21745,029,33715,651,0001,043,0002,281,472
5Jan 23, 2024 18:585,21746,476,33816,695,00002,392,064
6Jan 23, 2024 18:585,22036,558,71116,703,00002,277,376
7Jan 23, 2024 18:585,22633,740,23416,722,00002,383,872
8Jan 23, 2024 18:585,23140,602,16515,694,0001,046,0002,281,472
9Jan 23, 2024 18:585,23240,722,29716,743,00002,281,472
10Jan 23, 2024 18:585,44276,975,89017,415,30402,289,664
11Jan 23, 2024 18:585,44467,514,53017,422,02502,277,376
12Jan 23, 2024 18:585,46990,081,56117,500,54902,281,472