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 26, 2023 00:03Andranik ChakiryanAndranik ChakiryanScore: 5,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2023 00:035,69939,387,25316,211,0002,026,0002,338,816
2Feb 26, 2023 00:035,71343,496,73617,266,0001,015,0002,342,912
3Feb 26, 2023 00:035,71939,958,88016,267,0002,033,0002,338,816
4Feb 26, 2023 00:035,73341,362,34216,309,0002,038,0002,351,104
5Feb 26, 2023 00:035,73842,260,07017,343,0001,020,0002,342,912
6Feb 26, 2023 00:035,74333,133,66916,337,0002,042,0002,355,200
7Feb 26, 2023 00:035,74345,346,05618,379,00002,351,104
8Feb 26, 2023 00:035,74974,475,50418,397,10302,187,264
9Feb 26, 2023 00:035,75846,901,28017,401,0001,023,0002,342,912
10Feb 26, 2023 00:035,77439,519,83817,452,0001,026,0002,342,912
11Feb 26, 2023 00:035,82399,253,26618,634,35902,191,360
12Feb 26, 2023 00:035,97484,068,03319,118,24302,187,264