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 listMay 17, 2023 22:34Martin StensgårdMartin StensgårdScore: 5,359Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 22:345,33140,030,07615,052,0002,007,0002,281,472
2May 17, 2023 22:345,33734,601,75215,068,0002,009,0002,445,312
3May 17, 2023 22:345,33840,623,51715,071,0002,009,0002,281,472
4May 17, 2023 22:345,34044,449,21315,079,0002,010,0002,281,472
5May 17, 2023 22:345,34234,737,72015,083,0002,011,0002,449,408
6May 17, 2023 22:345,34435,457,64815,089,0002,011,0002,281,472
7May 17, 2023 22:345,34539,420,35915,092,0002,012,0002,281,472
8May 17, 2023 22:345,34940,256,82715,103,0002,013,0002,445,312
9May 17, 2023 22:345,35046,347,86415,106,0002,014,0002,449,408
10May 17, 2023 22:345,35040,192,74715,106,0002,014,0002,281,472
11May 17, 2023 22:345,35140,749,92415,108,0002,014,0002,449,408
12May 17, 2023 22:345,35734,303,32815,126,0002,016,0002,281,472
13May 17, 2023 22:345,35941,050,97415,131,0002,017,0002,281,472
14May 17, 2023 22:345,36641,867,13915,151,0002,020,0002,453,504
15May 17, 2023 22:345,36635,099,08215,150,0002,020,0002,281,472
16May 17, 2023 22:345,36934,315,85615,159,0002,021,0002,441,216
17May 17, 2023 22:345,37349,582,37815,170,0002,022,0002,281,472
18May 17, 2023 22:345,37845,102,44016,198,0001,012,0002,457,600
19May 17, 2023 22:345,54074,340,61417,726,40702,207,744
20May 17, 2023 22:345,54386,015,54317,737,74402,203,648
21May 17, 2023 22:345,54581,512,41517,743,78802,207,744
22May 17, 2023 22:345,54760,732,63417,750,96702,199,552
23May 17, 2023 22:345,56691,788,40617,811,29002,207,744
24May 17, 2023 22:345,57482,947,28717,836,61102,211,840