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 listJul 25, 2021 15:21Adam FolwarcznyAdam FolwarcznyScore: 5,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 15:215,67833,993,03916,150,0002,018,0002,293,760
2Jul 25, 2021 15:215,70846,751,28917,250,0001,014,0002,269,184
3Jul 25, 2021 15:215,71195,760,16718,273,84002,297,856
4Jul 25, 2021 15:215,71240,450,43416,248,0002,031,0002,269,184
5Jul 25, 2021 15:215,72146,706,32117,289,0001,017,0002,523,136
6Jul 25, 2021 15:215,72440,995,13017,301,0001,017,0002,531,328
7Jul 25, 2021 15:215,72637,947,35018,323,00002,293,760
8Jul 25, 2021 15:215,72743,216,34716,290,0002,036,0002,293,760
9Jul 25, 2021 15:215,73876,287,19118,362,05602,297,856
10Jul 25, 2021 15:215,74483,531,59618,380,42802,293,760
11Jul 25, 2021 15:215,75442,128,51916,367,0002,045,0002,293,760
12Jul 25, 2021 15:215,76341,110,40717,416,0001,024,0002,531,328