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 24, 2024 09:17AnSaAnSaScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 09:175,26735,931,18915,864,000991,0002,281,472
2Jan 24, 2024 09:175,26737,289,52416,855,00002,281,472
3Jan 24, 2024 09:175,27143,955,52714,882,0001,984,0002,281,472
4Jan 24, 2024 09:175,27346,043,65715,881,000992,0002,510,848
5Jan 24, 2024 09:175,27344,749,40514,889,0001,985,0002,506,752
6Jan 24, 2024 09:175,28038,489,53715,902,000993,0002,281,472
7Jan 24, 2024 09:175,29843,391,31014,961,0001,994,0002,281,472
8Jan 24, 2024 09:175,30536,347,31513,981,0002,996,0002,387,968
9Jan 24, 2024 09:175,31641,545,98916,012,0001,000,0002,396,160
10Jan 24, 2024 09:175,53194,169,01017,700,22502,265,088
11Jan 24, 2024 09:175,53580,747,35217,710,88002,260,992
12Jan 24, 2024 09:175,53980,577,70617,724,35102,273,280