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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 17:314,98448,512,14314,953,000996,0002,383,872
2Feb 23, 2023 17:314,99333,157,46614,981,000998,0002,531,328
3Feb 23, 2023 17:314,99932,533,33114,997,000999,0002,375,680
4Feb 23, 2023 17:315,00332,820,24215,009,0001,000,0002,269,184
5Feb 23, 2023 17:315,00344,289,67614,010,0002,001,0002,379,776
6Feb 23, 2023 17:315,01837,101,35114,051,0002,007,0002,269,184
7Feb 23, 2023 17:315,03441,600,90415,103,0001,006,0002,379,776
8Feb 23, 2023 17:315,03848,880,86414,106,0002,015,0002,269,184
9Feb 23, 2023 17:315,05331,704,75614,147,0002,021,0002,379,776
10Feb 23, 2023 17:315,23588,575,95216,752,04102,240,512
11Feb 23, 2023 17:315,24960,295,43916,796,31602,240,512
12Feb 23, 2023 17:315,27574,142,83116,880,42402,236,416