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 29, 2021 21:47Andrey TsvetkovAndrey TsvetkovScore: 5,690Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 21:475,65840,175,29915,088,0003,017,0002,334,720
2Jun 29, 2021 21:475,66843,869,87016,124,0002,015,0002,334,720
3Jun 29, 2021 21:475,67347,503,01916,136,0002,017,0002,531,328
4Jun 29, 2021 21:475,67543,065,59815,134,0003,026,0002,519,040
5Jun 29, 2021 21:475,68541,528,29315,160,0003,032,0002,334,720
6Jun 29, 2021 21:475,68643,267,82316,174,0002,021,0002,531,328
7Jun 29, 2021 21:475,69034,952,36716,184,0002,023,0002,523,136
8Jun 29, 2021 21:475,70035,720,33916,214,0002,026,0002,387,968
9Jun 29, 2021 21:475,70932,488,25216,240,0002,030,0002,334,720
10Jun 29, 2021 21:475,71563,002,40718,288,79002,244,608
11Jun 29, 2021 21:475,73877,835,28918,362,33602,232,320
12Jun 29, 2021 21:475,76391,939,98318,442,68202,236,416