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 listJul 25, 2024 15:59Yuriy LyfenkoYuriy LyfenkoScore: 4,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:594,617549,418,29414,775,00002,281,472
2Jul 25, 2024 15:594,625540,925,10412,826,0001,973,0002,281,472
3Jul 25, 2024 15:594,625539,099,73812,827,0001,973,0002,281,472
4Jul 25, 2024 15:594,632534,339,93512,846,0001,976,0002,281,472
5Jul 25, 2024 15:594,635542,702,00112,854,0001,977,0002,289,664
6Jul 25, 2024 15:594,654545,211,55312,908,0001,985,0002,281,472
7Jul 25, 2024 15:594,665538,164,94512,937,0001,990,0002,281,472
8Jul 25, 2024 15:594,680537,780,56112,979,0001,996,0002,281,472
9Jul 25, 2024 15:594,693539,904,87913,017,0002,002,0002,289,664
10Jul 25, 2024 15:594,806586,353,59815,380,34602,252,800
11Jul 25, 2024 15:594,850578,288,00115,521,17702,301,952
12Jul 25, 2024 15:594,868572,355,36915,576,47302,310,144