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 2, 2021 18:28Yuriy LyfenkoYuriy LyfenkoScore: 5,042Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:285,0021,043,621,53215,007,0001,000,0002,260,992
2Jun 2, 2021 18:285,0071,038,536,99414,020,0002,002,0002,523,136
3Jun 2, 2021 18:285,0091,044,731,23515,027,0001,001,0002,260,992
4Jun 2, 2021 18:285,0091,041,110,06315,029,0001,001,0002,260,992
5Jun 2, 2021 18:285,0131,047,088,50014,036,0002,005,0002,260,992
6Jun 2, 2021 18:285,0221,048,931,56414,062,0002,008,0002,265,088
7Jun 2, 2021 18:285,0421,044,849,51515,126,0001,008,0002,523,136
8Jun 2, 2021 18:285,0421,044,170,61915,127,0001,008,0002,527,232
9Jun 2, 2021 18:285,0431,043,023,55114,119,0002,017,0002,260,992
10Jun 2, 2021 18:285,1511,077,250,72016,482,24902,273,280
11Jun 2, 2021 18:285,1621,073,839,06316,519,66902,248,704
12Jun 2, 2021 18:285,1851,075,774,67716,592,73102,277,376