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 27, 2021 18:01Yurkov AlekseyYurkov AlekseyScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:015,58748,033,17015,892,0001,986,0002,289,664
2May 27, 2021 18:055,59039,087,06915,901,0001,987,0002,265,088
3May 27, 2021 18:015,59338,876,66915,909,0001,988,0002,289,664
4May 27, 2021 18:055,59644,053,93615,918,0001,989,0002,289,664
5May 27, 2021 18:055,59845,081,67015,923,0001,990,0002,289,664
6May 27, 2021 18:055,60139,941,76915,931,0001,991,0002,527,232
7May 27, 2021 18:055,60242,167,08216,931,000995,0002,289,664
8May 27, 2021 18:015,60942,937,33416,952,000997,0002,289,664
9May 27, 2021 18:015,62340,244,59315,993,0001,999,0002,289,664
10May 27, 2021 18:015,62339,976,44915,994,0001,999,0002,289,664
11May 27, 2021 18:055,62641,920,45916,004,0002,000,0002,289,664
12May 27, 2021 18:015,62942,333,15516,013,0002,001,0002,269,184
13May 27, 2021 18:055,64343,024,61616,053,0002,006,0002,269,184
14May 27, 2021 18:055,64839,746,03216,067,0002,008,0002,367,488
15May 27, 2021 18:015,64835,452,03716,064,0002,008,0002,289,664
16May 27, 2021 18:055,65341,379,69416,079,0002,009,0002,527,232
17May 27, 2021 18:015,66940,102,83916,125,0002,015,0002,289,664
18May 27, 2021 18:015,68336,166,11117,175,0001,010,0002,285,568
19May 27, 2021 18:055,76295,933,87118,439,98702,301,952
20May 27, 2021 18:055,79248,116,65118,534,17902,293,760
21May 27, 2021 18:015,79752,197,34118,551,24602,297,856
22May 27, 2021 18:015,81563,667,82318,607,02802,170,880
23May 27, 2021 18:055,83996,645,15518,683,52802,297,856
24May 27, 2021 18:016,06885,527,22819,418,17902,293,760