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 28, 2023 19:23DarkclainerDarkclainerScore: 5,128Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2023 19:235,07732,497,34414,215,0002,030,0002,383,872
2Feb 28, 2023 19:235,08235,653,38815,247,0001,016,0002,379,776
3Feb 28, 2023 19:235,08538,043,54016,273,00002,269,184
4Feb 28, 2023 19:235,09435,985,64215,282,0001,018,0002,527,232
5Feb 28, 2023 19:235,11832,301,72215,355,0001,023,0002,379,776
6Feb 28, 2023 19:235,12732,714,89015,380,0001,025,0002,473,984
7Feb 28, 2023 19:235,12833,185,40215,384,0001,025,0002,269,184
8Feb 28, 2023 19:235,12840,775,54616,411,00002,269,184
9Feb 28, 2023 19:235,13327,996,37615,400,0001,026,0002,531,328
10Feb 28, 2023 19:235,30076,661,13716,958,91502,232,320
11Feb 28, 2023 19:235,302103,574,92816,967,89602,236,416
12Feb 28, 2023 19:235,369106,804,17817,181,88102,248,704