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 15, 2024 09:23CalCalScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 09:235,85646,136,38318,738,00002,269,184
2Jan 15, 2024 09:235,861101,215,24818,754,12702,191,360
3Jan 15, 2024 09:235,88842,367,44116,859,0001,983,0002,277,376
4Jan 15, 2024 09:235,88854,199,75916,860,0001,983,0002,273,280
5Jan 15, 2024 09:235,89347,011,32216,873,0001,985,0002,293,760
6Jan 15, 2024 09:235,89844,494,36116,887,0001,986,0002,293,760
7Jan 15, 2024 09:235,89843,569,66917,882,000993,0002,293,760
8Jan 15, 2024 09:235,89942,408,14516,891,0001,987,0002,285,568
9Jan 15, 2024 09:235,91040,203,68817,861,0001,050,0002,269,184
10Jan 15, 2024 09:235,91040,461,17016,922,0001,990,0002,277,376
11Jan 15, 2024 09:236,05791,879,42719,383,18402,179,072
12Jan 15, 2024 09:236,08072,758,88419,456,41402,183,168