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:14джулисджулисScore: 5,324Success
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:145,28343,019,49415,911,000994,0002,375,680
2Jun 9, 2024 19:145,29048,432,60415,934,000995,0002,375,680
3Jun 9, 2024 19:165,30035,064,61614,965,0001,995,0002,293,760
4Jun 9, 2024 19:165,30641,376,19414,982,0001,997,0002,486,272
5Jun 9, 2024 19:145,30846,698,46814,986,0001,998,0002,285,568
6Jun 9, 2024 19:165,31043,471,77415,993,000999,0002,293,760
7Jun 9, 2024 19:165,31145,156,61214,995,0001,999,0002,379,776
8Jun 9, 2024 19:165,31344,125,65415,003,0002,000,0002,473,984
9Jun 9, 2024 19:165,31541,000,75815,007,0002,000,0002,293,760
10Jun 9, 2024 19:165,31535,840,19416,009,0001,000,0002,371,584
11Jun 9, 2024 19:145,32438,321,35915,033,0002,004,0002,289,664
12Jun 9, 2024 19:165,32448,631,50016,036,0001,002,0002,293,760
13Jun 9, 2024 19:165,32433,111,17916,036,0001,002,0002,375,680
14Jun 9, 2024 19:145,32847,689,80016,046,0001,002,0002,293,760
15Jun 9, 2024 19:145,33247,487,81815,055,0002,007,0002,293,760
16Jun 9, 2024 19:145,34334,113,67515,088,0002,011,0002,367,488
17Jun 9, 2024 19:145,34533,842,45716,099,0001,006,0002,363,392
18Jun 9, 2024 19:145,35150,800,25715,108,0002,014,0002,375,680
19Jun 9, 2024 19:145,557100,070,35917,782,08402,248,704
20Jun 9, 2024 19:145,57966,006,08217,853,00602,256,896
21Jun 9, 2024 19:165,58576,686,95417,872,57302,252,800
22Jun 9, 2024 19:145,63886,102,75618,042,96902,248,704
23Jun 9, 2024 19:165,66757,982,69918,133,68202,256,896
24Jun 9, 2024 19:165,68784,303,41818,199,64502,252,800