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 12, 2024 19:37AndreyTSAndreyTSScore: 5,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 19:375,67444,326,96017,149,0001,008,0002,289,664
2Jun 12, 2024 19:385,67742,436,56316,148,0002,018,0002,289,664
3Jun 12, 2024 19:385,67842,534,91416,151,0002,018,0002,527,232
4Jun 12, 2024 19:385,68347,386,53416,167,0002,020,0002,273,280
5Jun 12, 2024 19:385,68833,307,63416,181,0002,022,0002,277,376
6Jun 12, 2024 19:375,68840,428,90416,179,0002,022,0002,289,664
7Jun 12, 2024 19:375,69138,088,62016,188,0002,023,0002,289,664
8Jun 12, 2024 19:385,69534,822,84617,212,0001,012,0002,289,664
9Jun 12, 2024 19:385,70139,491,64817,230,0001,013,0002,289,664
10Jun 12, 2024 19:375,70944,720,39716,240,0002,030,0002,289,664
11Jun 12, 2024 19:375,71746,587,29516,263,0002,032,0002,269,184
12Jun 12, 2024 19:385,71839,390,96016,266,0002,033,0002,273,280
13Jun 12, 2024 19:375,72740,053,60716,289,0002,036,0002,277,376
14Jun 12, 2024 19:375,73635,953,74116,316,0002,039,0002,289,664
15Jun 12, 2024 19:375,73635,156,87216,315,0002,039,0002,289,664
16Jun 12, 2024 19:375,73840,064,41616,323,0002,040,0002,359,296
17Jun 12, 2024 19:385,74336,690,20316,336,0002,042,0002,269,184
18Jun 12, 2024 19:385,74435,958,91617,359,0001,021,0002,273,280
19Jun 12, 2024 19:385,88894,396,08018,841,91902,293,760
20Jun 12, 2024 19:375,91890,897,82918,938,31802,297,856
21Jun 12, 2024 19:375,92287,184,91318,948,99802,174,976
22Jun 12, 2024 19:375,95297,272,32319,045,24702,179,072
23Jun 12, 2024 19:385,965107,013,95019,089,09902,306,048
24Jun 12, 2024 19:385,97788,519,06619,125,31702,174,976