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 21, 2023 17:23DarkclainerDarkclainerScore: 5,421Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 17:235,38543,075,95716,218,0001,013,0002,383,872
2Feb 21, 2023 17:235,39133,809,38616,238,0001,014,0002,371,584
3Feb 21, 2023 17:235,39246,574,03417,253,00002,383,872
4Feb 21, 2023 17:235,39848,244,42816,259,0001,016,0002,269,184
5Feb 21, 2023 17:235,40141,476,07816,267,0001,016,0002,273,280
6Feb 21, 2023 17:235,40645,407,63015,265,0002,035,0002,269,184
7Feb 21, 2023 17:235,42145,174,54515,306,0002,040,0002,383,872
8Feb 21, 2023 17:235,43143,517,48016,356,0001,022,0002,387,968
9Feb 21, 2023 17:235,43536,302,95116,368,0001,023,0002,379,776
10Feb 21, 2023 17:235,59575,727,63517,902,86902,248,704
11Feb 21, 2023 17:235,60781,359,37617,941,06102,252,800
12Feb 21, 2023 17:235,62584,005,71418,000,40502,248,704