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 12, 2024 23:29джулисджулисScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:295,27141,841,28414,882,0001,984,0002,293,760
2Jun 12, 2024 23:295,27344,570,72015,880,000992,0002,371,584
3Jun 12, 2024 23:295,27752,237,76014,901,0001,986,0002,293,760
4Jun 12, 2024 23:295,29344,531,65914,946,0001,992,0002,367,488
5Jun 12, 2024 23:295,29542,911,98114,952,0001,993,0002,293,760
6Jun 12, 2024 23:295,29743,131,88415,954,000997,0002,371,584
7Jun 12, 2024 23:295,30341,451,19015,971,000998,0002,293,760
8Jun 12, 2024 23:295,30647,192,45914,981,0001,997,0002,293,760
9Jun 12, 2024 23:295,30646,098,26014,982,0001,997,0002,379,776
10Jun 12, 2024 23:295,54170,109,90817,729,67202,256,896
11Jun 12, 2024 23:295,57884,033,79417,850,00902,244,608
12Jun 12, 2024 23:295,66880,909,01918,138,26802,248,704