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:16джулисджулисScore: 5,342Success
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:215,30641,021,61715,980,000998,0002,375,680
2Jun 9, 2024 19:165,31643,927,82316,010,0001,000,0002,367,488
3Jun 9, 2024 19:165,31844,095,65215,017,0002,002,0002,293,760
4Jun 9, 2024 19:165,31943,199,49716,020,0001,001,0002,293,760
5Jun 9, 2024 19:215,32141,206,92616,027,0001,001,0002,359,296
6Jun 9, 2024 19:215,32638,355,65816,042,0001,002,0002,363,392
7Jun 9, 2024 19:165,32645,001,21715,039,0002,005,0002,465,792
8Jun 9, 2024 19:215,32740,319,10816,044,0001,002,0002,293,760
9Jun 9, 2024 19:215,33146,666,64615,053,0002,007,0002,293,760
10Jun 9, 2024 19:215,33345,544,17115,057,0002,007,0002,293,760
11Jun 9, 2024 19:165,33544,327,19615,064,0002,008,0002,293,760
12Jun 9, 2024 19:165,34041,880,72515,078,0002,010,0002,293,760
13Jun 9, 2024 19:165,34239,804,80116,090,0001,005,0002,293,760
14Jun 9, 2024 19:215,34538,131,18315,093,0002,012,0002,469,888
15Jun 9, 2024 19:215,34639,784,52616,100,0001,006,0002,375,680
16Jun 9, 2024 19:165,34739,491,04715,098,0002,013,0002,293,760
17Jun 9, 2024 19:165,35140,322,37215,108,0002,014,0002,371,584
18Jun 9, 2024 19:215,36534,594,04615,149,0002,019,0002,363,392
19Jun 9, 2024 19:165,56759,535,63317,813,89802,252,800
20Jun 9, 2024 19:215,56964,224,58117,821,46602,236,416
21Jun 9, 2024 19:165,58276,225,84417,862,74802,248,704
22Jun 9, 2024 19:215,59087,962,80617,886,76502,256,896
23Jun 9, 2024 19:215,60665,442,95417,937,86302,252,800
24Jun 9, 2024 19:165,61259,438,33617,958,30202,256,896