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 9, 2024 21:57джулисджулисScore: 5,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:575,20842,344,89215,626,0001,041,0002,293,760
2Jun 9, 2024 21:575,21041,669,60016,672,00002,371,584
3Jun 9, 2024 21:575,21341,612,81416,683,00002,293,760
4Jun 9, 2024 21:575,21434,628,59615,643,0001,042,0002,363,392
5Jun 9, 2024 21:575,22445,188,48115,672,0001,044,0002,293,760
6Jun 9, 2024 21:575,26844,187,68115,865,000991,0002,289,664
7Jun 9, 2024 21:575,27036,119,24414,880,0001,984,0002,293,760
8Jun 9, 2024 21:575,27135,529,27016,868,00002,371,584
9Jun 9, 2024 21:575,27443,855,67614,893,0001,985,0002,371,584
10Jun 9, 2024 21:575,48376,368,05317,545,29102,248,704
11Jun 9, 2024 21:575,52987,222,97017,691,79202,260,992
12Jun 9, 2024 21:575,63992,136,30718,045,12402,252,800