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 9, 2025 19:21Ian MckibbenIan MckibbenScore: 6,982Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 19:236,62143,216,95419,170,0002,017,0002,289,664
2Jan 9, 2025 19:236,62241,917,37320,180,0001,009,0002,289,664
3Jan 9, 2025 19:236,62748,674,26619,186,0002,019,0002,289,664
4Jan 9, 2025 19:236,63650,039,18620,224,0001,011,0002,277,376
5Jan 9, 2025 19:236,65047,679,08319,255,0002,026,0002,273,280
6Jan 9, 2025 19:236,67244,398,82019,316,0002,033,0002,289,664
7Jan 9, 2025 19:236,67642,969,29719,330,0002,034,0002,277,376
8Jan 9, 2025 19:236,69544,752,84719,385,0002,040,0002,289,664
9Jan 9, 2025 19:236,69748,099,56119,390,0002,041,0002,273,280
10Jan 9, 2025 19:216,98248,859,93621,326,0001,015,0002,289,664
11Jan 9, 2025 19:217,00944,510,20320,391,0002,039,0002,371,584
12Jan 9, 2025 19:217,01345,382,88921,421,0001,020,0002,289,664
13Jan 9, 2025 19:217,03248,523,03621,480,0001,022,0002,281,472
14Jan 9, 2025 19:217,05645,556,95721,553,0001,026,0002,269,184
15Jan 9, 2025 19:217,06553,017,27921,582,0001,027,0002,289,664
16Jan 9, 2025 19:217,08848,395,17821,651,0001,031,0002,265,088
17Jan 9, 2025 19:217,09253,418,46521,662,0001,031,0002,289,664
18Jan 9, 2025 19:217,14748,525,23320,883,0001,988,0002,269,184