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 24, 2024 07:28AnSaAnSaScore: 5,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 07:285,37037,154,63216,173,0001,010,0002,387,968
2Jan 24, 2024 07:285,39743,294,94215,238,0002,031,0002,281,472
3Jan 24, 2024 07:285,40634,154,35615,265,0002,035,0002,281,472
4Jan 24, 2024 07:285,41243,633,59116,301,0001,018,0002,387,968
5Jan 24, 2024 07:285,41840,418,37917,338,00002,281,472
6Jan 24, 2024 07:285,41947,697,58515,301,0002,040,0002,396,160
7Jan 24, 2024 07:285,42538,375,70015,318,0002,042,0002,281,472
8Jan 24, 2024 07:285,43240,877,58916,360,0001,022,0002,392,064
9Jan 24, 2024 07:285,44438,024,34917,422,00002,281,472
10Jan 24, 2024 07:285,49182,918,38117,571,53302,289,664
11Jan 24, 2024 07:285,52096,014,45417,662,50102,285,568
12Jan 24, 2024 07:285,54466,280,15617,739,53802,273,280