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 19, 2024 20:36Franek KortaFranek KortaScore: 4,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 20:364,56231,806,01714,598,00002,269,184
2Jan 19, 2024 20:364,57335,355,88914,634,00002,437,120
3Jan 19, 2024 20:364,57531,569,65613,596,0001,045,0002,445,312
4Jan 19, 2024 20:364,57936,721,26614,653,00002,441,216
5Jan 19, 2024 20:364,58134,514,33214,659,00002,441,216
6Jan 19, 2024 20:364,58532,035,94514,671,00002,445,312
7Jan 19, 2024 20:364,60431,669,30114,733,00002,445,312
8Jan 19, 2024 20:364,60634,514,87614,738,00002,531,328
9Jan 19, 2024 20:364,64830,701,23813,881,000991,0002,441,216
10Jan 19, 2024 20:364,82675,401,93715,441,74502,195,456
11Jan 19, 2024 20:364,83983,049,01015,485,81802,199,552
12Jan 19, 2024 20:364,84786,914,36615,511,67302,199,552