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 listFeb 22, 2024 12:53Huy Duc LeHuy Duc LeScore: 5,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:535,07833,212,79714,219,0002,031,0002,293,760
2Feb 22, 2024 12:535,08641,691,99714,241,0002,034,0002,293,760
3Feb 22, 2024 12:535,08740,832,37514,243,0002,034,0002,293,760
4Feb 22, 2024 12:535,08840,010,19314,247,0002,035,0002,293,760
5Feb 22, 2024 12:535,09543,523,48214,267,0002,038,0002,273,280
6Feb 22, 2024 12:535,09633,702,06014,269,0002,038,0002,527,232
7Feb 22, 2024 12:535,10442,160,20714,293,0002,041,0002,531,328
8Feb 22, 2024 12:535,10642,693,95714,296,0002,042,0002,293,760
9Feb 22, 2024 12:535,11637,510,08414,326,0002,046,0002,269,184
10Feb 22, 2024 12:535,29276,634,04116,935,32902,306,048
11Feb 22, 2024 12:535,32396,032,17917,032,18002,306,048
12Feb 22, 2024 12:535,33188,592,31217,060,57602,289,664