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 listAug 13, 2024 13:49zielajzielajScore: 4,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 13:504,27227,906,41612,620,0001,051,0002,535,424
2Aug 13, 2024 13:504,27432,774,74012,625,0001,052,0002,445,312
3Aug 13, 2024 13:494,27535,170,21612,629,0001,052,0002,535,424
4Aug 13, 2024 13:504,27528,211,90812,629,0001,052,0002,531,328
5Aug 13, 2024 13:504,27545,218,40512,628,0001,052,0002,449,408
6Aug 13, 2024 13:504,27728,615,43612,633,0001,052,0002,453,504
7Aug 13, 2024 13:494,27829,561,51512,638,0001,053,0002,535,424
8Aug 13, 2024 13:494,27831,767,34412,636,0001,053,0002,535,424
9Aug 13, 2024 13:494,28334,430,66612,650,0001,054,0002,441,216
10Aug 13, 2024 13:494,28329,715,09712,651,0001,054,0002,445,312
11Aug 13, 2024 13:504,28539,748,89012,657,0001,054,0002,449,408
12Aug 13, 2024 13:494,28729,262,14112,662,0001,055,0002,441,216
13Aug 13, 2024 13:504,28826,973,75012,668,0001,055,0002,273,280
14Aug 13, 2024 13:494,29334,042,09612,680,0001,056,0002,453,504
15Aug 13, 2024 13:504,32924,836,41312,864,000989,0002,273,280
16Aug 13, 2024 13:504,33331,021,46013,866,00002,449,408
17Aug 13, 2024 13:494,33944,362,04411,902,0001,983,0002,449,408
18Aug 13, 2024 13:494,34337,681,44311,912,0001,985,0002,445,312
19Aug 13, 2024 13:494,52573,924,87114,478,48002,252,800
20Aug 13, 2024 13:504,54961,293,07514,557,60002,199,552
21Aug 13, 2024 13:504,55379,260,06414,570,45402,334,720
22Aug 13, 2024 13:504,55871,706,70614,585,72102,203,648
23Aug 13, 2024 13:494,57395,711,93314,634,54102,330,624
24Aug 13, 2024 13:494,57572,780,63914,640,17602,256,896