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 listFeb 17, 2023 11:55Robert BurkeRobert BurkeScore: 4,597Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 17, 2023 11:554,56746,339,05214,615,00002,273,280
2Feb 17, 2023 11:554,57837,585,46514,651,00002,445,312
3Feb 17, 2023 11:554,58132,009,12114,658,00002,273,280
4Feb 17, 2023 11:554,58739,860,77912,582,0002,097,0002,428,928
5Feb 17, 2023 11:554,59131,302,70514,692,00002,273,280
6Feb 17, 2023 11:554,59434,148,76711,551,0003,150,0002,535,424
7Feb 17, 2023 11:554,59741,467,50113,661,0001,050,0002,535,424
8Feb 17, 2023 11:554,63530,728,81514,831,00002,535,424
9Feb 17, 2023 11:554,64839,387,87512,892,0001,983,0002,535,424
10Feb 17, 2023 11:554,82775,679,75315,447,34902,273,280
11Feb 17, 2023 11:554,84981,771,06515,517,35102,215,936
12Feb 17, 2023 11:554,86192,667,61915,555,43302,207,744