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 13, 2024 08:06matsuoka-601matsuoka-601Score: 5,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:065,45734,415,71817,461,00002,289,664
2Jan 13, 2024 08:065,45938,350,85716,442,0001,027,0002,519,040
3Jan 13, 2024 08:065,47342,135,46716,483,0001,030,0002,289,664
4Jan 13, 2024 08:065,48235,492,11916,511,0001,031,0002,265,088
5Jan 13, 2024 08:065,48240,572,10916,511,0001,031,0002,273,280
6Jan 13, 2024 08:065,49140,452,73016,539,0001,033,0002,289,664
7Jan 13, 2024 08:065,49343,455,08316,544,0001,034,0002,265,088
8Jan 13, 2024 08:065,49444,605,24416,547,0001,034,0002,289,664
9Jan 13, 2024 08:065,50536,209,25216,581,0001,036,0002,523,136
10Jan 13, 2024 08:065,65386,368,01018,089,41302,174,976
11Jan 13, 2024 08:065,67580,052,00318,161,09402,306,048
12Jan 13, 2024 08:065,69273,204,09518,215,20302,297,856