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 23, 2024 19:16AnSaAnSaScore: 5,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:165,15839,733,41915,476,0001,031,0002,281,472
2Jan 23, 2024 19:165,16439,225,85516,525,00002,281,472
3Jan 23, 2024 19:165,16432,403,24515,492,0001,032,0002,281,472
4Jan 23, 2024 19:165,16646,651,96616,531,00002,392,064
5Jan 23, 2024 19:165,16638,424,53616,532,00002,392,064
6Jan 23, 2024 19:165,17039,472,54016,544,00002,396,160
7Jan 23, 2024 19:165,17039,702,61315,510,0001,034,0002,281,472
8Jan 23, 2024 19:165,17538,733,15315,526,0001,035,0002,281,472
9Jan 23, 2024 19:165,17934,996,94316,572,00002,281,472
10Jan 23, 2024 19:165,18433,718,22215,552,0001,036,0002,281,472
11Jan 23, 2024 19:165,18433,970,98315,552,0001,036,0002,281,472
12Jan 23, 2024 19:165,19047,216,79216,607,00002,400,256
13Jan 23, 2024 19:165,19644,605,01616,626,00002,392,064
14Jan 23, 2024 19:165,19735,198,71116,630,00002,281,472
15Jan 23, 2024 19:165,20239,395,03216,647,00002,392,064
16Jan 23, 2024 19:165,20836,280,69515,623,0001,041,0002,396,160
17Jan 23, 2024 19:165,21437,552,05615,644,0001,042,0002,400,256
18Jan 23, 2024 19:165,26542,775,98715,858,000991,0002,469,888
19Jan 23, 2024 19:165,35860,786,60717,146,87002,281,472
20Jan 23, 2024 19:165,37463,343,82017,197,94602,289,664
21Jan 23, 2024 19:165,37668,224,48817,201,62602,285,568
22Jan 23, 2024 19:165,39160,776,01817,249,98002,281,472
23Jan 23, 2024 19:165,39695,200,54317,265,98602,293,760
24Jan 23, 2024 19:165,41463,501,46517,325,24102,281,472