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 27, 2021 22:53gchebanovgchebanovScore: 5,372Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:515,30941,276,52214,991,0001,998,0002,527,232
2Jun 27, 2021 22:535,33448,138,62215,060,0002,008,0002,265,088
3Jun 27, 2021 22:535,33536,309,46715,065,0002,008,0002,265,088
4Jun 27, 2021 22:515,33845,778,31215,073,0002,009,0002,265,088
5Jun 27, 2021 22:515,34046,235,87416,083,0001,005,0002,379,776
6Jun 27, 2021 22:535,34238,612,37815,083,0002,011,0002,383,872
7Jun 27, 2021 22:535,34642,732,32815,096,0002,012,0002,387,968
8Jun 27, 2021 22:515,34637,160,37815,094,0002,012,0002,265,088
9Jun 27, 2021 22:515,34837,794,30515,100,0002,013,0002,392,064
10Jun 27, 2021 22:535,36447,388,45816,157,0001,009,0002,396,160
11Jun 27, 2021 22:535,36632,604,74016,161,0001,010,0002,265,088
12Jun 27, 2021 22:515,37147,879,53715,166,0002,022,0002,265,088
13Jun 27, 2021 22:515,37233,313,56415,167,0002,022,0002,510,848
14Jun 27, 2021 22:535,37334,056,15015,170,0002,022,0002,265,088
15Jun 27, 2021 22:535,37435,938,92715,175,0002,023,0002,392,064
16Jun 27, 2021 22:535,38047,110,43816,205,0001,012,0002,265,088
17Jun 27, 2021 22:515,38138,907,78615,193,0002,025,0002,265,088
18Jun 27, 2021 22:515,38543,374,07515,204,0002,027,0002,265,088
19Jun 27, 2021 22:515,52967,084,48617,693,01602,281,472
20Jun 27, 2021 22:535,54579,324,80317,743,84702,277,376
21Jun 27, 2021 22:535,54883,025,95117,753,36602,281,472
22Jun 27, 2021 22:515,54859,045,76017,752,88002,281,472
23Jun 27, 2021 22:515,56081,460,53417,790,86502,273,280
24Jun 27, 2021 22:535,57680,163,21417,844,55402,281,472