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 listJan 22, 2024 12:33matsuoka-601matsuoka-601Score: 4,823Success
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, 2024 09:164,75841,601,49213,195,0002,030,0002,293,760
2Jun 2, 2024 09:164,78529,343,43014,292,0001,020,0002,293,760
3Jun 2, 2024 09:164,78731,085,87114,298,0001,021,0002,293,760
4Jan 22, 2024 12:334,78834,871,68513,280,0002,043,0002,293,760
5Jun 2, 2024 09:164,79335,594,26914,315,0001,022,0002,277,376
6Jan 22, 2024 12:334,79531,534,57814,321,0001,022,0002,269,184
7Jun 2, 2024 09:164,79936,710,76113,309,0002,047,0002,293,760
8Jun 2, 2024 09:164,80036,562,68515,359,00002,293,760
9Jan 22, 2024 12:334,80230,768,20314,342,0001,024,0002,531,328
10Jan 22, 2024 12:334,80644,358,31015,380,00002,273,280
11Jun 2, 2024 09:164,80727,060,05714,357,0001,025,0002,273,280
12Jan 22, 2024 12:334,82132,222,50114,400,0001,028,0002,277,376
13Jan 22, 2024 12:334,82334,576,14714,406,0001,029,0002,293,760
14Jan 22, 2024 12:334,82931,897,98714,424,0001,030,0002,293,760
15Jan 22, 2024 12:334,83235,376,38414,432,0001,030,0002,293,760
16Jan 22, 2024 12:334,84330,508,28714,463,0001,033,0002,293,760
17Jun 2, 2024 09:164,85035,590,18414,485,0001,034,0002,293,760
18Jun 2, 2024 09:164,85835,850,49714,509,0001,036,0002,293,760
19Jan 22, 2024 12:335,02285,619,70416,070,55402,183,168
20Jan 22, 2024 12:335,04179,291,72516,132,02602,174,976
21Jun 2, 2024 09:165,04764,000,30216,149,54302,179,072
22Jan 22, 2024 12:335,05672,489,42816,178,32802,183,168
23Jun 2, 2024 09:165,07776,007,98416,245,36202,179,072
24Jun 2, 2024 09:165,13162,224,48816,417,84502,297,856