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 listJun 30, 2024 13:11AnSaAnSaScore: 4,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:114,76336,351,38014,224,0001,016,0002,494,464
2Jun 30, 2024 13:114,77841,932,97614,272,0001,019,0002,506,752
3Jun 30, 2024 13:114,78334,783,53014,285,0001,020,0002,498,560
4Jun 30, 2024 13:114,79435,338,11615,341,00002,269,184
5Jun 30, 2024 13:114,80332,859,82113,321,0002,049,0002,531,328
6Jun 30, 2024 13:114,80837,925,23115,385,00002,531,328
7Jun 30, 2024 13:114,80935,846,59515,389,00002,502,656
8Jun 30, 2024 13:114,82128,548,54314,398,0001,028,0002,531,328
9Jun 30, 2024 13:114,82943,959,35914,423,0001,030,0002,269,184
10Jun 30, 2024 13:115,11480,605,68716,365,21902,392,064
11Jun 30, 2024 13:115,13666,267,41416,436,27302,252,800
12Jun 30, 2024 13:115,14592,867,55116,463,37102,244,608