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 listMay 22, 2021 20:17Sergey StreminSergey StreminScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 20:175,50945,403,34817,628,00002,363,392
2May 22, 2021 20:175,51532,457,80116,611,0001,038,0002,375,680
3May 22, 2021 20:175,51744,561,51716,616,0001,038,0002,289,664
4May 22, 2021 20:175,52642,848,28616,642,0001,040,0002,490,368
5May 22, 2021 20:175,54342,002,10816,694,0001,043,0002,363,392
6May 22, 2021 20:175,57234,914,35116,841,000990,0002,289,664
7May 22, 2021 20:175,58345,719,43417,864,00002,289,664
8May 22, 2021 20:175,58346,691,57016,872,000992,0002,379,776
9May 22, 2021 20:175,58444,353,76115,883,0001,985,0002,379,776
10May 22, 2021 20:175,73870,835,83718,362,55102,240,512
11May 22, 2021 20:175,79388,743,98018,538,77902,228,224
12May 22, 2021 20:175,81594,233,08218,608,21802,240,512
13May 22, 2021 20:175,82795,312,35318,645,97802,236,416
14May 22, 2021 20:175,83084,752,78318,656,03002,248,704
15May 22, 2021 20:175,84294,334,04518,694,75702,236,416