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 15, 2024 15:18kytanskytansScore: 4,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 15:184,36339,451,46912,965,000997,0002,506,752
2Jul 15, 2024 15:184,36830,129,62912,981,000998,0002,506,752
3Jul 15, 2024 15:184,36931,179,48112,983,000998,0002,277,376
4Jul 15, 2024 15:184,36937,208,14812,983,000998,0002,277,376
5Jul 15, 2024 15:184,37429,946,53112,998,000999,0002,506,752
6Jul 15, 2024 15:184,37531,123,01913,001,0001,000,0002,277,376
7Jul 15, 2024 15:184,37628,117,75712,002,0002,000,0002,506,752
8Jul 15, 2024 15:184,38030,534,02013,016,0001,001,0002,277,376
9Jul 15, 2024 15:184,38028,355,12913,014,0001,001,0002,277,376
10Jul 15, 2024 15:184,38135,668,58013,018,0001,001,0002,510,848
11Jul 15, 2024 15:184,38226,187,42913,020,0001,001,0002,277,376
12Jul 15, 2024 15:184,38231,477,69513,022,0001,001,0002,506,752
13Jul 15, 2024 15:184,38429,240,78713,027,0001,002,0002,277,376
14Jul 15, 2024 15:184,38832,991,02013,040,0001,003,0002,277,376
15Jul 15, 2024 15:184,39328,041,41613,052,0001,004,0002,277,376
16Jul 15, 2024 15:184,39528,692,13913,061,0001,004,0002,535,424
17Jul 15, 2024 15:184,39628,532,74513,063,0001,004,0002,277,376
18Jul 15, 2024 15:184,40235,074,38013,079,0001,006,0002,277,376
19Jul 15, 2024 15:184,63288,766,85514,822,79902,248,704
20Jul 15, 2024 15:184,63676,834,90914,835,09102,248,704
21Jul 15, 2024 15:184,64179,809,15114,852,14202,379,776
22Jul 15, 2024 15:184,644107,050,33614,861,06102,248,704
23Jul 15, 2024 15:184,65090,510,18414,880,92702,248,704
24Jul 15, 2024 15:184,65087,604,12814,879,69702,248,704