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 19:49джулисджулисScore: 5,341Success
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 19:495,29341,312,24014,946,0001,992,0002,367,488
2Jun 9, 2024 19:495,29731,415,45514,955,0001,994,0002,367,488
3Jun 9, 2024 19:495,30241,136,93514,970,0001,996,0002,293,760
4Jun 9, 2024 19:495,31743,235,76816,015,0001,000,0002,478,080
5Jun 9, 2024 19:495,32034,155,58915,022,0002,003,0002,293,760
6Jun 9, 2024 19:495,33036,758,20416,052,0001,003,0002,371,584
7Jun 9, 2024 19:495,34135,481,14216,087,0001,005,0002,367,488
8Jun 9, 2024 19:495,34351,483,49716,093,0001,005,0002,367,488
9Jun 9, 2024 19:495,36643,862,65315,151,0002,020,0002,375,680
10Jun 9, 2024 19:495,56062,830,68817,791,15102,248,704
11Jun 9, 2024 19:495,58879,861,26517,882,23102,248,704
12Jun 9, 2024 19:495,62063,976,79617,984,02102,260,992