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 listJun 21, 2021 11:28Andrey TsvetkovAndrey TsvetkovScore: 6,001Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2021 11:285,96044,214,95816,061,0003,011,0002,334,720
2Jun 21, 2021 11:285,96247,971,41816,066,0003,012,0002,334,720
3Jun 21, 2021 11:285,96444,049,45218,082,0001,004,0002,334,720
4Jun 21, 2021 11:285,96946,432,32317,092,0002,010,0002,334,720
5Jun 21, 2021 11:285,97250,214,40017,100,0002,011,0002,514,944
6Jun 21, 2021 11:286,00043,986,28517,179,0002,021,0002,334,720
7Jun 21, 2021 11:286,00143,970,22317,183,0002,021,0002,334,720
8Jun 21, 2021 11:286,01541,285,57118,235,0001,013,0002,334,720
9Jun 21, 2021 11:286,01980,377,31019,259,97102,244,608
10Jun 21, 2021 11:286,02444,340,50817,248,0002,029,0002,342,912
11Jun 21, 2021 11:286,09069,099,77419,487,93402,240,512
12Jun 21, 2021 11:286,10064,524,28319,520,82602,228,224