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:48джулисджулисScore: 5,334Success
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:485,30542,015,95614,978,0001,997,0002,367,488
2Jun 12, 2024 23:485,31145,516,55114,997,0001,999,0002,293,760
3Jun 12, 2024 23:435,31441,163,83016,005,0001,000,0002,293,760
4Jun 12, 2024 23:485,31843,422,42815,015,0002,002,0002,359,296
5Jun 12, 2024 23:435,32043,637,13215,021,0002,002,0002,375,680
6Jun 12, 2024 23:435,32333,003,13915,031,0002,004,0002,371,584
7Jun 12, 2024 23:435,32443,281,74616,035,0001,002,0002,367,488
8Jun 12, 2024 23:485,32434,796,23915,032,0002,004,0002,363,392
9Jun 12, 2024 23:435,32531,014,11516,037,0001,002,0002,359,296
10Jun 12, 2024 23:485,32746,586,88615,042,0002,005,0002,363,392
11Jun 12, 2024 23:435,33242,778,66916,059,0001,003,0002,285,568
12Jun 12, 2024 23:435,33442,878,94917,070,00002,293,760
13Jun 12, 2024 23:485,33442,668,83316,064,0001,004,0002,293,760
14Jun 12, 2024 23:485,33543,422,97916,068,0001,004,0002,371,584
15Jun 12, 2024 23:435,33644,761,96417,075,00002,293,760
16Jun 12, 2024 23:485,33734,085,97716,074,0001,004,0002,371,584
17Jun 12, 2024 23:435,34335,145,11617,097,00002,293,760
18Jun 12, 2024 23:485,34841,513,08117,114,00002,293,760
19Jun 12, 2024 23:485,57082,003,86517,825,34002,244,608
20Jun 12, 2024 23:485,57559,430,76117,840,93002,265,088
21Jun 12, 2024 23:435,58771,916,29217,879,52302,248,704
22Jun 12, 2024 23:435,59776,497,19117,911,96702,248,704
23Jun 12, 2024 23:435,61290,626,88217,959,19502,240,512
24Jun 12, 2024 23:485,87071,774,93418,783,50802,260,992