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:34Huy Duc LeHuy Duc LeScore: 5,501Success
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:345,45745,884,76916,436,0001,027,0002,273,280
2Feb 22, 2024 12:345,45840,399,16716,437,0001,027,0002,527,232
3Feb 22, 2024 12:345,46040,035,61517,471,00002,285,568
4Feb 22, 2024 12:345,46333,185,52517,483,00002,535,424
5Feb 22, 2024 12:345,46443,405,44616,456,0001,028,0002,293,760
6Feb 22, 2024 12:345,48839,548,80416,530,0001,033,0002,293,760
7Feb 22, 2024 12:345,50140,401,99216,569,0001,035,0002,527,232
8Feb 22, 2024 12:345,51546,247,65316,611,0001,038,0002,293,760
9Feb 22, 2024 12:345,51949,974,14716,623,0001,038,0002,269,184
10Feb 22, 2024 12:345,68680,179,21818,195,19602,179,072
11Feb 22, 2024 12:345,69988,757,98518,237,28402,306,048
12Feb 22, 2024 12:345,70456,473,57418,251,71102,306,048