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 8, 2024 19:06AndreyTSAndreyTSScore: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:065,26844,697,98615,866,000991,0002,277,376
2Jun 8, 2024 19:065,26945,198,12016,861,00002,527,232
3Jun 8, 2024 19:065,27432,611,34115,885,000992,0002,289,664
4Jun 8, 2024 19:065,27543,827,29714,894,0001,985,0002,289,664
5Jun 8, 2024 19:065,28343,920,03915,850,0001,056,0002,289,664
6Jun 8, 2024 19:065,29039,752,17014,936,0001,991,0002,519,040
7Jun 8, 2024 19:065,29532,138,03814,952,0001,993,0002,289,664
8Jun 8, 2024 19:065,29735,652,97914,956,0001,994,0002,289,664
9Jun 8, 2024 19:065,31841,045,05615,015,0002,002,0002,273,280
10Jun 8, 2024 19:065,53776,185,18317,719,13902,297,856
11Jun 8, 2024 19:065,54499,681,45817,739,93302,301,952
12Jun 8, 2024 19:065,57784,020,86017,845,05102,183,168