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 8, 2024 18:40AndreyTSAndreyTSScore: 5,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:405,39243,308,40316,240,0001,015,0002,269,184
2Jun 8, 2024 18:405,39338,925,61815,226,0002,030,0002,289,664
3Jun 8, 2024 18:405,39539,439,09115,233,0002,031,0002,379,776
4Jun 8, 2024 18:405,39636,921,32915,236,0002,031,0002,289,664
5Jun 8, 2024 18:405,39732,827,23515,238,0002,031,0002,400,256
6Jun 8, 2024 18:405,40341,971,77215,256,0002,034,0002,289,664
7Jun 8, 2024 18:405,41434,795,22915,287,0002,038,0002,523,136
8Jun 8, 2024 18:405,42149,976,92615,306,0002,040,0002,273,280
9Jun 8, 2024 18:405,46642,582,28116,463,0001,028,0002,289,664
10Jun 8, 2024 18:405,65497,409,14718,091,29502,179,072
11Jun 8, 2024 18:405,65672,777,36518,097,86502,293,760
12Jun 8, 2024 18:405,69968,399,13918,238,11302,297,856