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 20, 2022 23:53Franek KortaFranek KortaScore: 5,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:545,46730,951,77317,494,00002,449,408
2Aug 20, 2022 23:535,47839,174,52117,530,00002,269,184
3Aug 20, 2022 23:535,47941,914,84917,533,00002,531,328
4Aug 20, 2022 23:545,48339,625,81916,515,0001,032,0002,445,312
5Aug 20, 2022 23:545,48540,243,82916,519,0001,032,0002,445,312
6Aug 20, 2022 23:535,48635,991,74217,555,00002,441,216
7Aug 20, 2022 23:545,48831,559,23617,562,00002,531,328
8Aug 20, 2022 23:535,48938,200,44317,565,00002,531,328
9Aug 20, 2022 23:545,48939,805,88517,565,00002,445,312
10Aug 20, 2022 23:545,49138,541,28717,572,00002,531,328
11Aug 20, 2022 23:535,49236,263,19117,573,00002,445,312
12Aug 20, 2022 23:545,50239,384,47116,571,0001,035,0002,269,184
13Aug 20, 2022 23:545,50745,965,86417,623,00002,449,408
14Aug 20, 2022 23:535,51243,934,34816,600,0001,037,0002,269,184
15Aug 20, 2022 23:545,51536,078,22916,546,0001,103,0002,527,232
16Aug 20, 2022 23:535,51846,556,33316,620,0001,038,0002,449,408
17Aug 20, 2022 23:535,52942,535,25615,613,0002,081,0002,531,328
18Aug 20, 2022 23:535,54144,120,26815,761,0001,970,0002,269,184
19Aug 20, 2022 23:535,73984,850,66318,364,23502,203,648
20Aug 20, 2022 23:545,74365,468,84518,378,77902,203,648
21Aug 20, 2022 23:535,74751,289,27518,389,74402,199,552
22Aug 20, 2022 23:545,75074,723,44518,400,00002,199,552
23Aug 20, 2022 23:545,76379,224,59418,442,64302,207,744
24Aug 20, 2022 23:535,77683,849,94018,484,52202,195,456