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 listJan 19, 2022 12:55Andrey TsvetkovAndrey TsvetkovScore: 5,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:555,59943,100,95415,927,0001,990,0002,494,464
2Jan 19, 2022 12:555,60740,238,07615,948,0001,993,0002,490,368
3Jan 19, 2022 12:555,61141,406,53115,961,0001,995,0002,347,008
4Jan 19, 2022 12:555,61238,063,43416,960,000997,0002,338,816
5Jan 19, 2022 12:555,61438,912,73816,967,000998,0002,490,368
6Jan 19, 2022 12:555,61848,145,09014,983,0002,996,0002,494,464
7Jan 19, 2022 12:555,65442,041,63715,078,0003,015,0002,482,176
8Jan 19, 2022 12:555,65644,832,72815,084,0003,016,0002,338,816
9Jan 19, 2022 12:555,67338,596,24916,137,0002,017,0002,338,816
10Jan 19, 2022 12:555,68373,958,71918,184,53602,297,856
11Jan 19, 2022 12:555,75083,031,46118,400,93002,183,168
12Jan 19, 2022 12:555,76288,930,07018,438,78102,301,952