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 30, 2024 10:34AnSaAnSaScore: 5,096Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:345,03832,002,84615,115,0001,007,0002,269,184
2Jun 30, 2024 10:345,04331,882,68414,119,0002,017,0002,289,664
3Jun 30, 2024 10:345,05337,646,33714,149,0002,021,0002,510,848
4Jun 30, 2024 10:345,06141,145,02114,170,0002,024,0002,289,664
5Jun 30, 2024 10:345,07337,546,59515,219,0001,014,0002,289,664
6Jun 30, 2024 10:345,08937,530,53114,249,0002,035,0002,289,664
7Jun 30, 2024 10:345,09641,806,19914,269,0002,038,0002,273,280
8Jun 30, 2024 10:345,09839,550,42414,276,0002,039,0002,367,488
9Jun 30, 2024 10:345,09941,750,30114,398,0001,919,0002,289,664
10Jun 30, 2024 10:345,29993,557,97016,957,68302,289,664
11Jun 30, 2024 10:345,31874,740,30517,016,91602,293,760
12Jun 30, 2024 10:345,35076,525,71717,119,77802,293,760