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 listMar 17, 2023 14:11Alexander MonakovAlexander MonakovScore: 5,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 14:115,29142,561,81715,936,000996,0002,531,328
2Mar 17, 2023 14:115,31038,662,93615,994,000999,0002,269,184
3Mar 17, 2023 14:115,31430,725,55616,004,0001,000,0002,531,328
4Mar 17, 2023 14:115,31736,911,51616,014,0001,000,0002,269,184
5Mar 17, 2023 14:115,31829,546,81415,016,0002,002,0002,494,464
6Mar 17, 2023 14:115,31936,726,02816,019,0001,001,0002,531,328
7Mar 17, 2023 14:115,32536,959,29516,038,0001,002,0002,531,328
8Mar 17, 2023 14:115,32932,595,74016,050,0001,003,0002,531,328
9Mar 17, 2023 14:115,36432,759,64916,157,0001,009,0002,531,328
10Mar 17, 2023 14:115,59083,948,12217,887,34602,236,416
11Mar 17, 2023 14:115,59068,710,07117,889,01002,240,512
12Mar 17, 2023 14:115,60277,696,33817,927,88902,244,608